microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.97k stars 29.19k forks source link

unwanted text automatically added to .project files in cloned repo #196999

Closed lott-pointloma closed 11 months ago

lott-pointloma commented 1 year ago

Type: Bug

something in my setup is causing this bit of code to be added to all my .project files on my cloned repo. and it is truly annoying to manually revert all the changes so that i know for sure i'm only pushing wanted changes to the remote. (our remote is bitbucket)

<filteredResources>
    <filter>
        <id></id>
        <name></name>
        <type></type>
        <matcher>
            <id></id>
            <arguments></arguments>
        </matcher>
    </filter>
</filteredResources>

VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i7-1265U (10 x 2688)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.44GB (16.36GB free)| |Process Argv|--crash-reporter-id a18b492c-df10-47ac-b4f6-2a0e0f6f54d6| |Screen Reader|no| |VM|0%|
Extensions (11) Extension|Author (truncated)|Version ---|---|--- atlascode|atl|3.0.7 xslt-xpath|del|1.5.14 xml|Dot|2.5.1 log-formatter|log|1.0.8 rainbow-csv|mec|3.8.0 diff-merge|mos|0.7.0 remote-wsl|ms-|0.81.8 js-debug-nightly|ms-|2023.10.2517 postman-for-vscode|Pos|0.12.1 vscode-xml|red|0.26.1 vscode-yaml|red|1.14.0
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263cf:30856253 vscaat:30438848 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyonecf:30548226 2e4cg342:30602488 f6dab269:30613381 showlangstatbar:30737416 03d35959:30757346 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 copilotsettingc:30859502 synctok:30869157 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30871694 pythonregdiag2cf:30871583 pyreplss1:30865275 pythoncet00cf:30874137 2e7ec940:30870395 pythontbext0:30864172 ```
gjsjohnmurray commented 1 year ago

/confirmPlease

vscodenpa commented 1 year ago

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.

Happy Coding!

lott-pointloma commented 1 year ago

Type: Bug

Issue troubleshooting has identified that the issue is with Visual Studio Code. It is confirmed that the issue exists in Visual Studio Code Insiders (also ran the troubleshooter in the insider version) Issue troubleshooting has identified that the issue is with Visual Studio Code - Insiders.

continuation of: https://github.com/microsoft/vscode/issues/196999 ran the troubleshooter, it said to run in the insider version.

still have issues where there's 93 .project files are being given some version of this:

<filteredResources>
    <filter>
        <id>1698782888167</id>
        <name></name>
        <type>30</type>
        <matcher>
            <id>org.eclipse.core.resources.regexFilterMatcher</id>
            <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
        </matcher>
    </filter>
</filteredResources>

VS Code version: Code - Insiders 1.84.0-insider (60182c7e1a666961ded4d0319c154f52d85daf30, 2023-10-30T23:41:49.215Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i7-1265U (10 x 2688)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.44GB (15.87GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions: none
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 pythontb:30258533 vsc_aacf:30263846 pythonptprofiler:30281269 vshan820:30294714 vscod805:30301674 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30404738 py29gd2263:30784851 vscaat:30438846 vsclangdf:30492506 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30618038 showlangstatbar:30737417 57b77579:30687741 pythonfmttext:30716741 fixshowwlkth:30771523 showindicator:30805243 pythongtdpath:30726887 i26e3531:30792625 welcomedialog:30812478 pythonnosmt12:30779711 pythonidxpt:30768918 pythonnoceb:30776497 copilotsettingt:30808721 synctok:30869157 dsvsc013:30777762 dsvsc014:30777825 pythonmpsinfo:30859869 dsvsc015:30821418 pythontestfixt:30866404 pythonregdiag2cf:30871583 pyreplss1:30865275 pythonmypyd1:30859725 pythoncet0:30859736 pythontbext0:30864172 accentitlementst:30870582 ```

image

gjsjohnmurray commented 1 year ago

Did the extension bisect procedure not identify any extension as the cause?

lott-pointloma commented 1 year ago

it did not

lszomoru commented 11 months ago

@lott-pointloma, is the repository public? Is there a chance that the repository contains VS Code tasks that are being executed when the folder/workspace is opened which results in the edits being made?

lott-pointloma commented 11 months ago

@lott-pointloma, is the repository public? Is there a chance that the repository contains VS Code tasks that are being executed when the folder/workspace is opened which results in the edits being made?

no. it is not public.

lott-pointloma commented 11 months ago

eventually i uninstalled all the extensions except for Atlassian and its dependencies. was able to clone without auto-changes. apparently, it was one of the extensions (likely the java project manager extension i don't recall the actual name).