Code Monkey home page Code Monkey logo

Comments (2)

jbockle avatar jbockle commented on July 28, 2024 2

the latest 3.1 update will prompt to select workspace folder if there is more than one folder

from format-files.

snebjorn avatar snebjorn commented on July 28, 2024

Something is definitely going on

Given this workspace structure
image

// 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.