Comments (2)
the latest 3.1 update will prompt to select workspace folder if there is more than one folder
from format-files.
Something is definitely going on
Given this workspace structure
// workspace.code-workspace
{
"folders": [
{
"name": "Root",
"path": "."
},
{
"name": "Foo",
"path": "foo"
},
{
"name": "Bar",
"path": "bar"
}
],
"settings": {
"files.exclude": {
// Exclude the workspace folders from root workspace
"foo": true,
"bar": true
},
"formatFiles.inheritWorkspaceExcludedFiles": false
}
}
Then 0 files are formatted using "Start Format Files: Workspace" when clicking on any folder.
[_info:16:07:05] activating
[_info:16:07:05] registering command formatFiles.start.workspace
[_info:16:07:05] registering command formatFiles.start.fromGlob
[_info:16:07:05] activated
[_info:16:07:51] Starting Format Files - Workspace
[_info:16:07:51] Validating workspace
[_info:16:07:51] Workspace is valid!
[_info:16:07:51] creating include glob
[_info:16:07:51] folder specified: /C:/Users/my-user/Source/test-format-files/foo
[_info:16:07:51] creating exclude glob
[_info:16:07:51] {**/node_modules,**/.vscode,**/dist/**,**/.chrome}
[_info:16:07:51] Found 0
[error:16:08:03] Operation Aborted
[_info:16:08:24] Starting Format Files - Workspace
[_info:16:08:24] Validating workspace
[_info:16:08:24] Workspace is valid!
[_info:16:08:24] creating include glob
[_info:16:08:24] folder specified: /C:/Users/my-user/Source/test-format-files
[_info:16:08:24] creating exclude glob
[_info:16:08:24] {**/node_modules,**/.vscode,**/dist/**,**/.chrome}
[_info:16:08:24] Found 0
[error:16:08:29] Operation Aborted
[_info:16:08:32] Starting Format Files - Workspace
[_info:16:08:32] Validating workspace
[_info:16:08:32] Workspace is valid!
[_info:16:08:32] creating include glob
[_info:16:08:32] folder specified: /C:/Users/my-user/Source/test-format-files/bar
[_info:16:08:32] creating exclude glob
[_info:16:08:32] {**/node_modules,**/.vscode,**/dist/**,**/.chrome}
[_info:16:08:32] Found 0
[error:16:08:34] Operation Aborted
When using Start Format Files: From Glob with this pattern *.html
only 2 files are found
[_info:16:16:56] Starting Format Files - By Glob Pattern
[_info:16:16:56] Validating workspace
[_info:16:16:56] Workspace is valid!
[_info:16:17:02] Found 2
[_info:16:17:02] /c:/Users/my-user/Source/test-format-files/foo/f1.html
[_info:16:17:02] /c:/Users/my-user/Source/test-format-files/bar/b1.html
[error:16:17:08] Operation Aborted
from format-files.
Related Issues (20)
- Extension now longer find files after v3.1 HOT 1
- Not working anymore in version 1.54.1 (user setup) HOT 1
- Regression: Cannot format specific folder anymore, only entire workspace HOT 5
- extensionsToInclude setting glob pattern generation seems to fail. HOT 5
- "formatFiles.extensionsToInclude" seems not work properly in v3.1.2 HOT 3
- Extension doesn't work anymore HOT 2
- The setting is not applied after saving setting.json in v3.1.2 HOT 2
- [Feature Request] Ignore folder/files in .gitignore HOT 3
- Extension no longer works HOT 8
- Consider adding .mypy_cache to default excludes HOT 2
- why is the "Exclude Pattern" not working? HOT 8
- Html files skipped HOT 4
- what rules does python-format process follow? HOT 1
- Support for format of git checkout files HOT 1
- Can't ignore folders as gitignore do HOT 3
- It's disabled because of dependancies HOT 3
- How to ignore a folder name on any folder level? HOT 2
- `format-files` formats binary file from `.git`
- `formatFiles.excludePattern` doesn't exclude all specified by glob HOT 2
- How to Format only modified (as listed in the source control window) files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from format-files.