You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on using the new "vscode.workspace.fs" API in the Python extension. There are some things we do for which we'd like to use the new API, but it doesn't provide the needed functionality. I'll list them here, but would be glad to open a separate issue for each if that would help.
createWriteStream() - currently using node's fs.createWriteStream() -> we have some proposed api but nothing is final yet. @ericsnowcurrently What is the used for? Real big files or just because?
statSync() - currently using node's fs.statSync()
readFileSync() - currently using node's fs.readFileSync() Our design/architecture prohibits anything sync here. This will not happen.
mkdirp() - currently wrote a wrapper around the new createDirectory()
was using fs-extra's mkdirp(), but could have used node's mkdir() with the "recursive" option set to true
mkdtemp() - currently using "tmp" (tmp.file()), but could have used node's fs.mkdtemp()
I'm working on using the new "vscode.workspace.fs" API in the Python extension. There are some things we do for which we'd like to use the new API, but it doesn't provide the needed functionality. I'll list them here, but would be glad to open a separate issue for each if that would help.
chmod()
- currently using node'sfs.chmod()
Add vscode.workspace.fs.chmod(). #84513lstat()
- currently using node'sfs.lstat()
Support stat() for symbolic links themselves. #84514createWriteStream()
- currently using node'sfs.createWriteStream()
Add vscode.workspace.fs.createWriteStream(). #84515Support for sync functions in the vscode.workspace.fs API. #84518statSync()
- currently using node'sfs.statSync()
Support for sync functions in the vscode.workspace.fs API. #84518readFileSync()
- currently using node'sfs.readFileSync()
mkdirp()
- currently wrote a wrapper around the newcreateDirectory()
Add vscode.workspace.fs.mkdirp(). #84516mkdirp()
, but could have used node'smkdir()
with the "recursive" option set to truemkdtemp()
- currently using "tmp" (tmp.file()
), but could have used node'sfs.mkdtemp()
Add vscode.workspace.fs.mkdtemp(). #84517glob()
- currently using "glob"probably others(Also see #84177 for possible bugs in the new API.)
The text was updated successfully, but these errors were encountered: