Skip to content

when filename is empty it uses the folder name to create a file #432

Closed
@iFun

Description

@iFun

🐛 Bug Report

"leetcode.filePath": {
    "default": {
        // relative folder path
        "folder": "${tag}/${language}",
        // file name
        "filename": ""
    }
},

I leave the filename as blank because I wanted the old default filename and run into cannot create file error because it uses the folder name as the filename

To Reproduce

copy above and see the result

Expected behavior

folder name should be use as the filename

Extension Output

Paste here the LeetCode extension log from output channel.

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

  • os:
  • extension settings:
  • nodejs version:
  • vscode version:
  • extension version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions