svn-scm icon indicating copy to clipboard operation
svn-scm copied to clipboard

Add “when” directive support when ignore files using "files.exclude" ignore patten

Open tmulin opened this issue 6 years ago • 0 comments
trafficstars

  • VSCode Version: 1.30.1
  • OS Version: Windows_NT x64 10.0.17763
  • Extension Version: 1.47.0
  • System Language: zh-CN
  • SVN Version: 1.11.0

Issue

files.exclude as below described ignore all js files instead of only ignore "js" file when only exists "ts" files having same name.

Steps to Reproduce

  1. Use VsCode working a web project use typescript
  2. The project with “files.exclude" settings below to ignore js files which typescript generated in same location:
"files.exclude": {
        "**/*.js": {
            "when": "$(basename).ts"
        }
    }
  1. When there is some isolate js files which is not generated from typescript (although this is not a properly use case),svn plugin also ignore the isolate js files

SVN Output

$ svn stat --xml --no-ignore --ignore-externals --show-updates
$ svn info --xml

Direct Use SVN Command Line Output

svn stat --no-ignore --ignore-externals M api\event.js

Screenshots

tmulin avatar Dec 30 '18 13:12 tmulin