text:
Installing the python extension should use the 'extension.open' command instead of opening the URL

See @jakebailey 's PR here:
https://github.com/microsoft/vscode-python/pull/15321

Seems it doesn't work :(

Does this need to be tested on codespaces? I gave it a try locally and it worked popping up the same page as before. Did find one new issue that I filed separate: #4724.

Yeah it would be nice to test on codespaces. @joyceerhl can you try it out?

To validate:

Install just jupyter extension
Export from the interactive window.

Webviews seem to all be busted in Codespaces right now, but if I install the Jupyter extension, create a blank native notebook and hit 'yes' on the prompt which recommends installing the Python extension, the install page correctly shows up in my Codespace.

authors: IanMatthewHuff joyceerhl rchiodo


text:
Not update package version on previous files

Issue Type: Bug
-created a script
-updated one package that the script was using succesfully through conda
-re-run the script, still the same version
-open a new .ipynb file and copy paste the code, package updated in the new script but not the previous one
Extension version: 2021.2.576440691
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz (12 x 3600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.66GB (25.20GB free)

Process Argv
--crash-reporter-id 3651da78-aff5-4851-ae7d-6125f1ed13e5

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475

Thanks for the issue but it looks to me like this is expected.
You're using two different kernels. If you look in your upper right corner of your notebook the V2 notebook is using a different kernel

At least it seems that way and that would explain the discrepancy.

source: gharchive/issue

repo: microsoft/vscode-jupyter

license: MIT

license_type: permissive

license_source: github-api


text:
Update Wiki to add deatils on how to setup Jupyter

For those in Raw kernel situation

Not sure what and how things need to be documented here. I assume it's about walking people through installing Jupyter on their machine, assuming raw kernel support doesn't work.

authors: DonJayamanne greazer


text:
Add a default kernel option to settings.json

Perhaps the wrong venue to request this, but it would be great to have a default kernel setting for the settings.json file.
see this SO question: https://stackoverflow.com/questions/67516550/vs-code-how-do-i-select-jupyter-kernel-for-a-workspace

Thanks for the suggestion we'll discuss this in our next triage meeting.

authors: DonJayamanne JILPulvino


text:
Move NotebookControllerManager into the DI container for web

Fixes #9662

Codecov Report

Merging #9690 (ecb66b5) into main (ecc0aaf) will decrease coverage by 0%.
The diff coverage is 75%.

@@         Coverage Diff          @@
##           main   #9690   +/-   ##
====================================
- Coverage    63%     63%   -1%
====================================
  Files       201     204    +3
  Lines      9826    9837   +11
  Branches   1557    1556    -1
====================================
- Hits       6230    6227    -3
- Misses     3097    3110   +13
- Partials    499     500    +1

Impacted Files
Coverage Δ

src/platform/api/apiAccessService.ts
44% <ø> (ø)

src/platform/common/application/clipboard.ts
42% <ø> (ø)

src/platform/common/application/documentManager.ts
82% <ø> (ø)

...rc/platform/common/application/encryptedStorage.ts
44% <ø> (ø)

src/platform/common/application/notebook.ts
87% <ø> (ø)

src/platform/common/asyncDisposableRegistry.ts
75% <ø> (ø)

src/platform/common/platform/types.ts
100% <ø> (ø)

src/platform/common/utils/multiStepInput.ts
75% <ø> (ø)

src/platform/common/utils/regexp.ts
66% <ø> (ø)

.../platform/common/variables/systemVariables.node.ts
39% <0%> (ø)

... and 52 more

source: gharchive/pull-request

authors: codecov-commenter rchiodo


text:
Option to merge main into the checked out PR

When checking out a PR, I almost always want to automatically merge main onto it right after checking out, even if this results in potential conflicts. It would be nice to have such an option.

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/1726

While #1726 asks for a button to bring the branch up to date with upstream, I would actually prefer if this would happen automatically just by checking out the PR.

This adds a new value to an existing setting: "githubPullRequests.pullPullRequestBranchBeforeCheckout": "pullAndUpdateBase"

repo: microsoft/vscode-pull-request-github


text:
Data Viewer still has bugs on the daily development build

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

Created a pipenv file to download all the dependencies I need for my Notebook

[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
packpandas = "*"

[packages]
pandas = "*"
faker = "*"
joblib = "*"
openpyxl = "*"
numpy = "*"
matplotlib = "*"
seaborn = "*"
sklearn = "*"
jupyter = "*"
pylint = "*"
re = "*"

[requires]
python_version = "3.7"

As recommended by the Engineering Team last time I posted about this issue I tried using the daily python.insidersChannel
https://github.com/microsoft/vscode-python/issues/10759#issue-587325612
I tried to take a closer look at one of the dataframes in the Notebook using the Data Viewer feature

Actual behavior
More often than not I am not able to see the Dataframe in the Data Viewer and I get this error message:
Python package 'pandas' is required for viewing data. Source: Python(Extension)

Expected behavior
Note: Sometimes the Data Viewer does work, which makes me think this is a bug. See how it looks when working

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running:                       Local  1.0.0
Extension version:                               2020-03-30 08:10:51:
VS Code version:                                 1.43
Setting python.jediEnabled:               false
Python and/or Anaconda version:     3.7.6
OS:                                                         Mac
Virtual environment:                            pipenv

Developer Tools Console Output

console.ts:137 [Extension Host] Warn Python Extension: 2020-03-30 08:15:00: Failed to get version of Pandas to use Data Viewer r [Error]: /Users/jacosta3/.local/share/virtualenvs/pft-FTlP17jZ/lib/python3.7/site-packages/pandas/compat/__init__.py:117: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.  warnings.warn(msg)    at ChildProcess.<anonymous> (/Users/jacosta3/.vscode/extensions/ms-python.python-2020.4.70601-dev/src/client/common/process/proc.ts:157:33)    at Object.onceWrapper (events.js:291:20)    at ChildProcess.emit (events.js:203:13)    at maybeClose (internal/child_process.js:1021:16)    at Socket.<anonymous> (internal/child_process.js:430:11)    at Socket.emit (events.js:203:13)    at Pipe.<anonymous> (net.js:588:12)
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
(anonymous) @ rpcProtocol.ts:101
fire @ event.ts:587
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
(anonymous) @ ipc.net.ts:592
fire @ event.ts:587
acceptChunk @ ipc.net.ts:239
(anonymous) @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:203
addChunk @ _stream_readable.js:295
readableAddChunk @ _stream_readable.js:276
Readable.push @ _stream_readable.js:210
onStreamRead @ internal/stream_base_commons.js:166
notificationsAlerts.ts:40 Python package 'pandas' is required for viewing data.
onDidChangeNotification @ notificationsAlerts.ts:40
(anonymous) @ notificationsAlerts.ts:26
fire @ event.ts:587
addNotification @ notifications.ts:183
notify @ notificationService.ts:101
(anonymous) @ mainThreadMessageService.ts:83
_showMessage @ mainThreadMessageService.ts:44
$showMessage @ mainThreadMessageService.ts:38
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
(anonymous) @ rpcProtocol.ts:101
fire @ event.ts:587
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
(anonymous) @ ipc.net.ts:592
fire @ event.ts:587
acceptChunk @ ipc.net.ts:239
(anonymous) @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:203
addChunk @ _stream_readable.js:295
readableAddChunk @ _stream_readable.js:276
Readable.push @ _stream_readable.js:210
onStreamRead @ internal/stream_base_commons.js:166

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Hi @jvac06, could you try adding lzma (or xz in mac) to your dev-packages?

Hi @DavidKutu I've downloaded the xz lib into my dev packages. So far it seems to work, but will keep monitoring in the next couple of days and give you an update by the end of the week. Thanks!

Good to know, I'll close this for now. Feel free to open it again if necesarry.

repo: microsoft/vscode-python


text:
Editor & Python console - Sharing exact syntax highlighting and color theme (similar to default in PyCharm)

Hello,
Thank you very much for the VS code Python extension.
In PyCharm, the Python console shares the exact syntax highlighting and color theme of the editor. This occurs automatically without any changes to the settings. For example:

In VS code, as far as I can tell, it is a lot more work (perhaps even impossible) to get the editor and Python console to share the same theme exactly. Out of the box we get the following, which is much less easy on the eyes.

For folks who work interactively in the console it is very helpful to have the equivalent theme in both areas. This may be especially true for beginners who can use the consistency between the editor and the Python console as a way to help them catch syntactical errors.
From what I can understand from looking into this is that there are ways of customizing just about any property of the Python console if you know which properties you need to adjust. I am not able to easily determine how to take the exact properties of the editor theme, and reflect them to the Python console.
Please let me know if I am missing something straightforward and if you think this would be a reasonable feature request.

Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

Thanks for the suggestion! We talked about it with the team and we have unfortunately decided we will not be moving forward with this idea. We think there isn't an enough widespread need for this to warrant the maintenance cost for the feature.

authors: Alcampopiano karthiknadig luabud


text:
How to redo after using undo in Notebooks

https://github.com/microsoft/vscode-python/issues/13769
I'm talking in command mode.
Does it work to redo deleted cells?

Yes.

authors: StevenJokes rchiodo


text:
Support hiding "private" variables/attributes for auto complete

While Python does not technically have private variables, it is a standardized in PEP8 that single and double underscores at the start of a variable name means that the variable is for internal use only. Some Python IDEs support this, and do not display variables with such prefixes outside of their scope. It would be nice if there was a setting in VS code to enable this behavior.
Source: https://www.python.org/dev/peps/pep-0008/#id36

Can you clarify if this is in completions or debugger or both?
Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

@karthiknadig
Hi, I am not the original poster, but I believe I could (try to) clarify.
My understanding is that this is related only to completions.

Whould be nice to have something like:
"python.analysis.internalVariables": "visible" | "hidden" | "greyedOut"

@karthiknadig Somehow I never saw your message until now (over a year later). @Mirandatz is correct, this would only apply to auto-completion.

"Protected" key is what you're looking for?
You can add this to your launch.json configuration
"variablePresentation": {
    "class": "group",
    "function": "group",
    "protected": "group",
}

You can also do the following below to group all variable types.
"variablePresentation": {
    "all": "group",
}

Thanks for the hint, works like a charm. Only problem is, that one cannot set this globally…

@q-wertz this issue tracks the request to set variablePresentation globally: https://github.com/microsoft/vscode-python/issues/12373

@DIGITALCRIMINALS
Sadly this (apparently) does not affect Intellisense

Apologies for the confusion, the issues I had liked above was for debugging and not auto completion. I tweaked the title of this issue to be a bit more clear.

Any way to achieve either hiding private methods in intellisense or at least showing them last rather than first?

authors: DIGITALCRIMINALS Marsfan Mirandatz PolarBean havarez karthiknadig luabud marsfan q-wertz


text:
Timed out waiting to get a heartbeat from kernel process

Hello All,
I am having issues with my jupyter notebook on my vscode. I am using python 3.8.3 on windows 10. Also, I installed Microsoft python extension on my vscode.
Kindly find the attached copy of the errors that I am getting on the vscode

. And help me out with the necessary steps to take to resolve this issue.
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

exactly the same issue here.
Python: 3.8.3 (Anaconda)
IPython: 7.16.1 (Anaconda)
VS code: 1.49.2

I might have the same issue but different trigger. I use Python Interactive and when trying to run a cell I get the same message
VS code: 1.49.2 (user setup)

Hey folks. We had a recent issue introduced that is specifically hitting windows users who have a space in their user names. I see for a number of the recent reports that they seem to be in this category. We'll be rolling out a fix for this issue in the very near future.

I was having this issue.  I reinstalled the Python extension and it is working now.

I was also having the issue
if the issue is just in vscode and not in the jupyter notebook ("which you might be opening with anaconda prompt").
you should install the previous version of python, check this link!! and this link also..

@IanMatthewHuff just a question since I have been experiencing a lot of notebook issues like this lately (before this it was the traitlets update issue, is it safe to say changing my OS from Windows to Linux is expected to improve my situation?

@leonarduschen No, in general a very large percent of our users and many of our developers are on Windows, we just happened to get bit by a couple of issues in the last two releases. Performance should be expected to be as good on Windows as on Linux in general.

We believe this has been fixed in the latest point release of the Python extension.

Same problem


text:
Check on debug launch configuration's python field prevents container debugging

The Docker extension resolves a Python debug configuration in order to support Python debugging. Included in that resolved debug configuration is the python field, with a value of just python3. This is because this is the command to use for launching Python in the container. However, validation of that field is done against the host, so if the host and container don't both have python3, debugging fails. We've tried changing it to python, which worked on Windows, but failed on Mac and Linux.
Is there a way to override this check to stop it from validating against the host when it should not be?
An additional strange thing we've noticed is that the error seems to only show up on Insiders. The code doesn't seem to be Insiders only so it's confusing why it would be doing this.

Downstream Docker extension bug: https://github.com/microsoft/vscode-docker/issues/4209

Can you provide us the full launch.json config for python that you're using? And in the case that it fails, please provide the debug logs:

Run Developer: Set log level command
Select Trace
Run Developer: Reload Window command
Provide the output:

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Just to clarify, Python extension is running on the host, where "python" or "python3" does not exist, leading to the issue?

Here is the output from the Python output log with log level set to trace:
024-02-07 09:32:41.405 [debug] Found cached env for C:\Python312\python.exe
2024-02-07 09:32:43.072 [debug] No cached env found for python3
2024-02-07 09:32:43.073 [warning] Failed to check if python3 is an executable [Error: ENOENT: no such file or directory, lstat 'C:\Users\bwater\AppData\Local\Programs\Microsoft VS Code\python3'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'lstat',
  path: 'C:\\Users\\bwater\\AppData\\Local\\Programs\\Microsoft VS Code\\python3'
}
2024-02-07 09:32:43.075 [debug] Failed to get file info for python3 [Error: ENOENT: no such file or directory, lstat 'C:\Users\bwater\AppData\Local\Programs\Microsoft VS Code\python3'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'lstat',
  path: 'C:\\Users\\bwater\\AppData\\Local\\Programs\\Microsoft VS Code\\python3'
}
2024-02-07 09:32:43.076 [debug] Environment resolver resolved python3 for {"name":"","location":"","kind":"unknown","executable":{"filename":"python3","sysPrefix":"","ctime":-1,"mtime":-1},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"PYTHON3","detailedDisplayName":"Python"} to undefined
2024-02-07 09:32:43.076 [debug] Resolved python3 using downstream locator
2024-02-07 09:32:43.076 [debug] Found cached env for C:\Python312\python.exe
2024-02-07 09:32:43.086 [debug] Activation Commands received undefined for shell cmd, resource d:\Sandbox\FastAPI and interpreter C:\Python312\python.exe
2024-02-07 09:32:43.090 [debug] No cached env found for python3
2024-02-07 09:32:43.091 [warning] Failed to check if python3 is an executable [Error: ENOENT: no such file or directory, lstat 'C:\Users\bwater\AppData\Local\Programs\Microsoft VS Code\python3'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'lstat',
  path: 'C:\\Users\\bwater\\AppData\\Local\\Programs\\Microsoft VS Code\\python3'
}
2024-02-07 09:32:43.094 [debug] Failed to get file info for python3 [Error: ENOENT: no such file or directory, lstat 'C:\Users\bwater\AppData\Local\Programs\Microsoft VS Code\python3'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'lstat',
  path: 'C:\\Users\\bwater\\AppData\\Local\\Programs\\Microsoft VS Code\\python3'
}
2024-02-07 09:32:43.095 [debug] Environment resolver resolved python3 for {"name":"","location":"","kind":"unknown","executable":{"filename":"python3","sysPrefix":"","ctime":-1,"mtime":-1},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"PYTHON3","detailedDisplayName":"Python"} to undefined
2024-02-07 09:32:43.095 [debug] Resolved python3 using downstream locator
2024-02-07 09:32:43.097 [error] Invalid Python Path 'python3'
2024-02-07 09:32:44.815 [debug] Clearing context for python dependencies not installed: ms-python.python.Python
2024-02-07 09:32:44.816 [debug] Found cached env for C:\Python312\python.exe

Thanks for that.
We do the validation yes, but I think this question is better suited for debugpy. We assume that the "python" specified contains a valid python binary in the host, but seems like that depends on the way config is specified? Is there a way we can detect that, and thereby not do host validation in that case?

authors: bwateratmsft karrtikr


text:
Failure details in unittest discovery are not always logged.

I'm pretty sure that the fix for #5313 is incomplete.  It does the right thing for pytest, but not for unittest.  I'm opening a new issue (rather than re-opening #5313) since the old issue has already been closed.
The main problem is that in src/client/testing/unittest/services/discoveryService.ts, failures are ignored in the script that gets run (see getDiscoveryScript()).  They should be logged and dealt with.
One possible solution could be to update the adapter script to handle unittest (in addition to the current pytest support).

If we have an invalid test to load, say test_2.py.
"""This unit test module can not be discovered.
"""
import unittest
x = y +2 # Invalid line as `y` is not defined

class Test_ImportOuterModule(unittest.TestCase):
    def test_2_1(self):
        self.assertEqual(1, 2)
        return

    def test_2_2(self):
        self.assertEqual(1, 1)
        return

if __name__ == "__main__":
    unittest.main()

The testing script
C:/Users/karraj/AppData/Local/Programs/Python/Python36/python.exe -c "
import unittest
import inspect

def get_sourceline(obj):
    s, n = inspect.getsourcelines(obj)
    for i, v in enumerate(s):
        if v.strip().startswith('def'):
            return str(n+i)
    return '*'

def generate_test_cases(suite):
    for test in suite:
        if isinstance(test, unittest.TestCase):
            yield test
        else:
            yield from generate_test_cases(test)

loader = unittest.TestLoader()
suite = loader.discover("./package/tests", pattern="*test*.py")

print("start") #Don't remove this line
for s in generate_test_cases(suite):
    tm = getattr(s, s._testMethodName)
    print(s.id().replace('.',':') + ":" + get_sourceline(tm))
"

returns
start
unittest:loader:_FailedTest:test_1:33
unittest:loader:_FailedTest:test_2:33

The last 2 entries indicate that the test nodes test_1 and test_2 were not loaded, this should probably be surfaced.

With the latest this is addressed:

authors: ericsnowcurrently karrtikr karthiknadig


text:
Cannot activate the virtual env that created by command "virtualenv"

Visual Studio Code - Insiders: 1.37.0-insider
python-insider: 2019.9.29519-dev
Repro step:

Create a virtual env using the command "virtualenv". e.g. "virtualenv --python=C:\Users\vxiaofz\AppData\Local\Programs\Python\Python37\python.exe myenv-01
Select the virtual env as current env
Select "Terminal->New Terminal"
Check the terminal

Actual Result:
Cannot active the virtual env with error "You must 'source' this script: PS> . &"

Expect Result:
It should can be actived

@xiaofeng0123, thanks for letting us know about this problem.  I'll look into it soon.

Note this is new behavior for virtualenv, it requires you to . .\env\scripts\activate.ps1
Hope that helps.
if I run python -m venv env then that environment works fine, but only for 3.3+

Thanks @jefflindholm.  Looks like we'll have to adjust.

FYI, see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scripts?view=powershell-6#script-scope-and-dot-sourcing

@jefflindholm @ericsnowcurrently I can no longer reproduce this, can you please double check?

I think it's the answer
Virtualenv's behavior has been changed recently

Closing this as this issue is no longer reproducible. Feel free to reopen if the issue re-occurs, and we'll look into it.

authors: Alxtrkhv ericsnowcurrently jefflindholm karrtikr xiaofeng0123


text:
Fixes to webpack script when bundling DS code

For #9428

Codecov Report

Merging #9429 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9429      +/-   ##
==========================================
- Coverage   60.93%   60.92%   -0.01%
==========================================
  Files         529      529
  Lines       28578    28578
  Branches     4338     4338
==========================================
- Hits        17413    17412       -1
- Misses      10214    10215       +1
  Partials      951      951

Impacted Files
Coverage Δ

src/client/common/utils/platform.ts
70.58% <0%> (-5.89%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update acba3d9...7ca0776. Read the comment docs.

authors: DonJayamanne codecov-io


text:
Raku syntax highlighting of in-line comments and comma-separated arrays

After the # symbol, everything is colored as a comment, even though the comment should end at the last ) parenthesis and the 't'; are not part of the comment.
my $bool = so #`(forces bool, or ?$variable) 't';

The following is another issue I saw where only the first element of the array is colored as a string, the rest are not colored
my @arraySigil = 'a','b','c';

@Sleepful Please report this against the TM grammar project, vscode-textmate is the interpreter for all the grammars, it does not maintain a specific TM grammar.

authors: Sleepful alexdima

repo: microsoft/vscode-textmate

license: mit

license_source: bigquery


text:
Bug: extension keybindings fail to register for specific "enablement" and "when" clauses

Version: 1.46.1
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:13:08.304Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.6.0-1-amd64
Steps to Reproduce:

Create an extension that has a command with an enablement clause containint an or-expression:
https://github.com/iliazeus/vscode-keybinding-bug-demo/blob/master/package.json#L21

Add to this command a keybinding with a when-clause:
https://github.com/iliazeus/vscode-keybinding-bug-demo/blob/master/package.json#L28

Keybinding then fails to register, and the following is printed to the devtools console on VS Code startup:
  ERR It is not allowed to have an or expression here due to lack of parens! For example "a && (b||c)" is not supported, use "(a&&b) || (a&&c)" instead.: Error: It is not allowed to have an or expression here due to lack of parens! For example "a && (b||c)" is not supported, use "(a&&b) || (a&&c)" instead.
    at Function._normalizeArr (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1625:160)
    at Function.create (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1624:445)
    at Function.and (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:1618:663)
    at e._asCommandRule (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4336:544)
    at e._handleKeybinding (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4336:267)
    at e._handleKeybindingsExtensionPointUser (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4335:663)
    at u._handler (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4331:216)
    at u._handle (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3902:949)
    at u.acceptUsers (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3902:856)
    at Function._handleExtensionPoint (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4071:826)
    at e._doHandleExtensionPoints (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4070:962)
    at e._registerAndHandleExtensions (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4894:6)
    at e._startLocalExtensionHost (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4893:654)
    at e._scanAndHandleExtensions (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4893:558)
    at async e._initialize (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:4066:885)

Does this issue occur when all extensions are disabled?: N/A

It looks like VS Code assumes there will never be an or-expression inside of an and-expression in a ContextKeyExpr:
https://github.com/microsoft/vscode/blob/cadabab73fef89fe0c4bfe23b5a33cd58e39ea9c/src/vs/platform/contextkey/common/contextkey.ts#L725-L728
But in a specific case that I described, this expression is being constructed by VS Code itself, by joining a command precondition and a keybinding when-clause with and and-expression:
https://github.com/microsoft/vscode/blob/ae7586488746ff59bdde2fa2453615fdf5f0b2ac/src/vs/workbench/services/keybinding/browser/keybindingService.ts#L529-L531
But the precondition is an or-expression! Hence the error.

@jrieken can this be solved by simply wrapping the deserialized when clause in parens?

@alexdima it is not a feature request though, it's a bug report. Can this behavior at least get documented?

authors: gjsjohnmurray iliazeus

repo: microsoft/vscode


text:
Turning off sync and clearing data with sync view opens shows error and orphans data

Testing #103613
With the view open, when I turned off sync and cleared settings, I was presented with this error

The view also was messed up a little bit:

The current machine was removed from the "synced machined" view, but the other machines remained until I manually hit refresh
The "sync activity" tree is still there and stays even if I manually hit the refresh button

Output:
[2020-08-04 12:07:34.995] [userDataSync] [info] GlobalState: Skipped synchronizing globalstate as it is disabled.
[2020-08-04 12:07:35.053] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-08-04 12:07:35.054] [userDataSync] [info] Sync done. Took 457ms
[2020-08-04 12:08:03.699] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/machines/latest","status":304,"operation-id":"a03b321c9fcc4bcd8ed301c2f3d3c7f7"}
[2020-08-04 12:08:04.413] [userDataSync] [info] Auto Sync: Disabled.
[2020-08-04 12:08:04.413] [userDataSync] [info] Auto Sync: Stopped
[2020-08-04 12:08:04.923] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/machines/latest","status":304,"operation-id":"cb3ba5c17ba7402289a202ea6a5259a5"}
[2020-08-04 12:08:04.973] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/settings/70547aeb-f5b5-493c-9352-02208909ebcf","status":404,"operation-id":"011ae644d1a243f7ba78c576098184ad"}
[2020-08-04 12:08:05.074] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/machines/latest","status":304,"operation-id":"919d9d4347764926bbb27b9b0379b6e0"}
[2020-08-04 12:08:13.012] [userDataSync] [info] Cleared data on server
[2020-08-04 12:08:13.013] [userDataSync] [info] Did reset the local sync state.

The other vscode instance / machines seem to work fine.

Fixed by 7c8bdc3299523aa08a45212c90838826eac6dcad


text:
Add ability to apply custom icon to Custom Editors

With webviews, we can add icons we like to the webview with webviewPanel.iconPath but when this is applied to the Custom Text Editor's webview panel, nothing is displayed.
Create a method to apply a custom icon to Custom Text Editors without having to provide an entire Icon Theme. Ideally this would override ONLY the Custom Editor associated to that viewType, which would allow us to differentiate open text editors vs Custom Editors viewing the same file by icon.

Hi folks 👋 — I've had feedback building Triplex for VS Code that it's very easy to lose track of the custom editor as generally both the source code and editor are used in tandem. So when having multiple files / editors open it's very easy to lose them.

Being able to change the title / icon of the custom editor would help reduce this pain point.

authors: AnyaHunt itsdouges


text:
C++20

Issue Type: Feature Request
Please enable C++20 for microsoft build tools as a default version of C++.
VS Code version: Code 1.50.0 (93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3, 2020-10-07T06:10:52.432Z)
OS version: Windows_NT x64 10.0.18363

This repository does not contain C++ language features for VS Code. Please file an issue in this repository

\extC++

authors: IgaMeddie JacksonKearl alannt777


text:
Timeout for SSH connetion even though SSH connects successfully

VSCode Version: 1.52.0
OS Version: macOS 11.0.1

Does this issue occur when all extensions are disabled?: Yes - I've tried disabling all extensions except the "Remote - SSH" extension
I can't connect to a SSH server due to a timeout issue, even though it appears the SSH connection itself is successfull.

Remote-SSH: Connect to host...
Choose correct host in the dropdown (which is a host I'm able to SSH into normally)
Connection times out, even though I get the Ubuntu greeting banner:

[22:18:12.069] Log Level: 1
[22:18:12.072] remote-ssh@0.62.0
[22:18:12.072] darwin x64
[22:18:12.073] SSH Resolver called for "ssh-remote+torkel-desktop", attempt 1
[22:18:12.074] "remote.SSH.useLocalServer": true
[22:18:12.074] "remote.SSH.sshPath": undefined
[22:18:12.074] "remote.SSH.sshConfigurationFile": undefined
[22:18:12.075] "remote.SSH.useFlock": true
[22:18:12.075] "remote.SSH.lockfilesInTmp": false
[22:18:12.075] "remote.SSH.localServerDownload": auto
[22:18:12.075] "remote.SSH.remoteServerListenOnSocket": false
[22:18:12.075] "remote.SSH.showLoginTerminal": true
[22:18:12.076] "remote.SSH.maxReconnectionAttempts": 9007199254740991
[22:18:12.076] SSH Resolver called for host: torkel-desktop
[22:18:12.076] Setting up SSH remote "torkel-desktop"
[22:18:12.080] Acquiring local install lock: /var/folders/7_/6snf5h451hv62fr1flgrpcfc0000gn/T/vscode-remote-ssh-torkel-desktop-install.lock
[22:18:12.092] Looking for existing server data file at /Users/torkel/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-torkel-desktop-940b5f4bb5fa47866a54529ed759d95d09ee80be-0.62.0/data.json
[22:18:12.093] Using commit id "940b5f4bb5fa47866a54529ed759d95d09ee80be" and quality "stable" for server
[22:18:12.099] Install and start server if needed
[22:18:12.104] Checking ssh with "ssh -V"
[22:18:12.158] > OpenSSH_8.1p1, LibreSSL 2.7.3

[22:18:12.180] askpass server listening on /var/folders/7_/6snf5h451hv62fr1flgrpcfc0000gn/T/vscode-ssh-askpass-9eab0d584695ad801f7d4b945054477e43492017.sock
[22:18:12.181] Spawning local server with {"ipcHandlePath":"/var/folders/7_/6snf5h451hv62fr1flgrpcfc0000gn/T/vscode-ssh-askpass-34a724569dcdf2562cdbf77006c2c33c3273957a.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","52018","-o","ConnectTimeout=60","torkel-desktop"],"dataFilePath":"/Users/torkel/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-torkel-desktop-940b5f4bb5fa47866a54529ed759d95d09ee80be-0.62.0/data.json"}
[22:18:12.181] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/torkel/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer)","VSCODE_SSH_ASKPASS_MAIN":"/Users/torkel/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/7_/6snf5h451hv62fr1flgrpcfc0000gn/T/vscode-ssh-askpass-9eab0d584695ad801f7d4b945054477e43492017.sock"}
[22:18:12.185] Spawned 33459
[22:18:12.392] > local-server> Spawned ssh: 33460
[22:18:12.396] stderr> OpenSSH_8.1p1, LibreSSL 2.7.3
[22:18:12.396] stderr> debug1: Reading configuration data /Users/torkel/.ssh/config
--- some logs omitted, don't want to leak info about my SSH keys
[22:18:12.893] stderr> debug1: Sending environment.
[22:18:12.894] stderr> debug1: Sending env LC_ALL = en_US.utf8
[22:18:12.897] > Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-53-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com
>  * Management:     https://landscape.canonical.com
>  * Support:        https://ubuntu.com/advantage
>
> 21 updates can be installed immediately.
> 8 of these updates are security updates.
> To see these additional updates run: apt list --upgradable
>
> *** System restart required ***
[22:19:14.190] Terminating local server
[22:19:14.197] Resolver error: Error: Connecting with SSH timed out
	at Function.Timeout (/Users/torkel/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:64405)
	at Timeout._onTimeout (/Users/torkel/.vscode/extensions/ms-vscode-remote.remote-ssh-0.62.0/out/extension.js:1:277390)
	at listOnTimeout (internal/timers.js:531:17)
	at processTimers (internal/timers.js:475:7)
[22:19:14.199] Local server exit: 15
[22:19:14.201] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"Timeout","exitCodeLabel":"","osReleaseId":"","arch":"","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0","dynamicForwarding":"1","localServer":"1"},"measures":{"resolveAttempts":1,"retries":1,"timing.totalResolveTime":62119,"timing.preSshTime":108}}

Your host is not running the script we sent it. Can you see whether it works if you disable the setting remote.SSH.useLocalServer?

authors: roblourens torkelrogstad


text:
Unknown problem

Issue Type: Feature Request
The small yellow light bulb didnt appear but i  had already open it. Error of lie is not showing, but i had enable the errorlens. What should I do now?
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.19041

/needsMoreInfo

Please ask on stack overflow

authors: Ethanlyt IllusionMH isidorn


text:
Uninstalling extension that needs reload via cli doesn't notify

Ref #119518
Uninstall remote-containers:

Switch tabs away from extension editor then back to it.

/duplicate
#119660


text:
Notebook does not turn readonly when filesystem is readonly

Steps to Reproduce:

either start with a readonly file system provider or have a provider that turns readonly after a while
open a notebook

=> 🐛 none of the cells are readonly when the file system provider turns readonly or is readonly from the beginning.
The text file editor solves this by listening for the file system capabilities and updating accordingly, e.g.:
https://github.com/microsoft/vscode/blob/f4ab7e822f98611f54f3972b451836750e74f65e/src/vs/workbench/contrib/files/browser/editors/textFileEditor.ts#L83-L89

Besides the editor itself, we also decorate editor labels with a suffix:

Similar to the orphaned label, there should be a way to reuse this. Matt started this with the method decorateFileEditorLabel.

@rebornix I can maybe take this, I am thinking of introducing a common editor input for anything that displays files.

via https://github.com/microsoft/vscode/commit/a2ddfc3aef5e554535fe308f67a585df1cd2abc0


text:
terminal.integrated.profiles.windows not working in .vscode/settings.json take 2

VS Code Version:  1.56.1
OS Version: win 10 pro 64X

Workspace settings (.vscode/settings.json) terminal settings now give deprecated warnings

This is deprecated, use #terminal.integrated.defaultProfile.windows# instead

however adding
  "terminal.integrated.profiles.windows": {
    "PowerShell -NoProfile": {
      "source": "PowerShell",
      "args": ["-NoProfile","echo",]
    }
  },

makes no difference and does not add any option in the terminal dropdown
Steps to Reproduce:

remove  "terminal.integrated.shell.windows": "cmd.exe",
add   "terminal.integrated.profiles.windows": {
"PowerShell -NoProfile": {
"source": "PowerShell",
"args": ["-NoProfile","echo",]
}
},

this does work in the user settings but not in the workspace settings
@meganrogge  recommended the following

You have to set terminal.integrated.allowWorkspaceConfiguration: true

however...
this unfortunately doesn't help my use case or make sense. Please let me explain
I have a template (https://github.com/Mair/create-esp32-app) that thousands of people are using, when the template is run it creates a vs-code project with the settings in place.
"terminal.integrated.shell.windows": "cmd.exe",
  "terminal.integrated.shellArgs.windows": ["/k", "C:\\esp\\idfv_4_2\\esp-idf\\export.bat"],
  "terminal.integrated.shell.linux": "/bin/bash",
  "terminal.integrated.shellArgs.linux": ["--init-file", "C:/esp/idfv_4_2/esp-idf/export.sh", "-i"],
  "terminal.integrated.shell.osx": "/bin/bash",
  "terminal.integrated.shellArgs.osx": ["--init-file", "C:/esp/idfv_4_2/esp-idf/export.sh", "-i"],

the paths to the export scripts are dynamically created when they run npx create-esp32-app
it is assumed that users will be able to run my app and create there project and it should just work without having to change other settings I cannot control.
In other words I have a template that thousands of users are using and this is a breaking change and I have no way of fixing this because I can't get a terminal to work correctly on someone else's vs code instance.

Does this issue occur when all extensions are disabled?: Yes/No
N/A

Can you do a trace log while creating a terminal? https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging

We have re-prioritized the terminal.integrated.shell.windows setting in VS code 1.56.2. You can upgrade to that version and they will work

/duplicate #121470

rendererLog.txt
@meganrogge please find attached log file

Regarding the profile not showing up in the dropdown, that's because you have to set "terminal.integrated.allowWorkspaceConfiguration":true. you should make sure you trust the origin of your folders though.

as mentioned. I cant tell thousands of users individually to updated there users settings. updating "terminal.integrated.allowWorkspaceConfiguration":true in workspace settings has no effect.
I have updated to 15.5.2 and it is not resolved
@meganrogge I wish you wouldn't close this issue. I'm getting a lot of students reporting this error and it certainly is not resolved would you kindly re-open it
Thanks

Yeah this doesn't work for me either-ish.
For debugging neither work.
For new terminals only terminal.integrated.shell.windows works.
For tasks: Both terminal.integrated.shell.windows and terminal.integrated.defaultProfile.windows work.
I'm on the latest Insiders build btw.

@Mair sorry about the hassle, as of today's Insiders build the terminal.integrated.allowWorkspaceConfiguration setting has been removed as the final solution to this is enabled with the new workspace trust feature which is a mechanism to say you trust an folder's origin that's shared across many components/extensions.
Additionally in insiders a lot of improvements have happened around terminal profiles so it should be much more reliable now. The shell/shellArgs settings are still prioritized higher than profiles but will show a warning to migrate.

@Tyriar Thank you for that.
Any idea when it will be released?

We're currently testing it, so it should be released late next week.

authors: AlansCodeLog Mair Tyriar meganrogge


text:
When cutting multiple lines (ctrl x), the last line will not be erased

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version:

版本: 1.58.1
提交: 2aeda6b18e13c4f4f9edf6667158a6b8d408874b
日期: 2021-07-13T06:22:33.013Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Darwin x64 20.5.0

Steps to Reproduce:

Create a new page (cmd N), and copy the following content

system01.dbf
sysaux01.dbf
undotbs01.dbf
users01.dbf
orcl/users01.dbf

pdbseed/system01.dbf
pdbseed/sysaux01.dbf
pdbseed/undotbs01.dbf
orcl/system01.dbf
orcl/sysaux01.dbf
orcl/undotbs01.dbf
orcl/users01.dbf

Use cmd D to select the first orcl, then continue cmd D to select the rest
Then use the left and right keys to move the cursor to unselect the character
Then use cmd x to cut multiple lines. Will find that the last line does not disappear, like this:

system01.dbf
sysaux01.dbf
undotbs01.dbf
users01.dbf

pdbseed/system01.dbf
pdbseed/sysaux01.dbf
pdbseed/undotbs01.dbf
orcl/undotbs01.dbf

But if the last line has extra blank lines, this will not happen

I can reproduce:

Interestingly the last line made it to the clipboard.

authors: ZhenRed hediet


text:
Online VS Code squished image

The grey VS code logo as a background image is squished.
REPRODUCTION STEPS
Go to vscode.dev and press Escape to see the squished image.
Version: 1.62.0
Commit: b3318bc0524af3d74034b8bb8a64df0ccf35549a
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Embedder: vscode.dev

Cam you share a screenshot?

Firefox 94.0, it's all in the first message above.

Can't reproduce.
Can you disable all browser extensions?

Happening to me as well [Brave browser] but running in a private window with all extensions disabled seems to fix the issue.

Same. I tried on another PC with a clean Firefox and it works fine. I must have tweaked something in the settings.

authors: Haltarys filiptronicek joaomoreno


text:
Indicate if Task Exited

Both tasks exited, but the list to the right does not reflect this.
I would expect the checkmark and error icon to disappear.

Hmm, I think the actual issue is that deemon reports the exit code 0 when killed :(
Still, I think this feature would be very useful. By looking at the terminal overview, it should be easy to see if a task is still running or exited.

Not saying there isn't a bug in deemon... but unsure if this is related to that.
I think the list still shows simply cause the terminals are still open. The list could render something else... but that wouldn't make sense in simple compile tasks, in which you still want to see the result color in the list, after the task ended.

authors: hediet joaomoreno


text:
Make the WSL "screen" size reasonable

Does this issue occur when all extensions are disabled?: Depends - it would occur without extensions if it wasn't for your workaround mentioned below. And it occurs with the WSL extension when trying to use ps.

VS Code Version: Version: 1.65.2 (user setup)
OS Version: Windows_NT x64 10.0.22000

Steps to Reproduce:
You are using a workaround yourself here, so you know what this is about:
https://github.com/microsoft/vscode/blob/main/src/vs/base/node/ps.ts#L237

The fact that what I can only assume to be a virtual terminal having the dimensions 131072x1 has led to issues at least when using ps repeatedly:
https://github.com/microsoft/vscode/issues/98590
https://github.com/microsoft/vscode/issues/75932
https://github.com/microsoft/vscode/issues/35798
The error being:

Your 131072x1 screen size is bogus. Expect trouble.

The only explanation I could find is this:
https://github.com/microsoft/vscode/issues/75932#issuecomment-595848213
However, this doesn't explain why these dimensions are used in the first place and why it is impossible to change them.
And so I for one would really appreciate either a fix (so that various tools don't have to keep working around this) or an explanation as to why we need to keep working around this.

I would have thought that three different cases are sufficient evidence. I don't work on vscode myself but surely a dev working on it could just comment out the workaround and use #98590 to reproduce the problem.
But alright, I will create a new project to provide a fourth case.

@s-h-a-d-o-w it's not clear where you're encountering the error though, commenting out the workaround and doing the #98590 is just re-introducing a bug that's currently fixed. Silently ignoring the message there seems like a reasonable thing to do. If you see this in the terminal, that's a very different repro/fix.

Silently ignoring the message there seems like a reasonable thing to do.

Why? You are obviously just working around an issue that is introduced somewhere else and should be fixed there - if possible.

If you see this in the terminal, that's a very different repro/fix.

I see it when using a git commit hook that uses the library pidtree in a WSL window.
Now, I could submit a PR to pidtree to add that workaround there as well. But I don't think that that's a reasonable solution. This need for workarounds should stop at some point and I hope that that point can be now.

Why? You are obviously just working around an issue that is introduced somewhere else and should be fixed there - if possible.

Sure, but the workaround doesn't cause any harm right now and the user shouldn't see an issue.

I see it when using a git commit hook that uses the library pidtree in a WSL window.

Ok this is what I was after thanks.

Looking into this a little, VS Code certainly isn't setting the pty size to 131072x1, my guess is that this is a problem with Node's exec or WSL but it's hard to tell. The error looks to be coming from procps here: https://gitlab.com/procps-ng/procps/blob/7bf9457f71910b6fc57f8fb2223ff94a590db552/ps/global.c#L168
I'd love this to get fixed but I think it's out of scope of VS Code. Anyone is welcome to prove me wrong though if it is indeed an issue in our codebase.

https://github.com/microsoft/WSL/issues/10701 might describe the underlying issue.

authors: Tyriar Wikiwix s-h-a-d-o-w


text:
Freezing when opening a folder with vs code

Does this issue occur when all extensions are disabled?: Yes

Version: 1.66.0
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Date: 2022-03-30T05:50:41.156Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Linux x64 5.4.0-107-generic snap
Steps to Reproduce:

Click on Open Folder...
Now VS code is freezing

/needsMoreInfo
Please use this guide to provide more information: https://github.com/Microsoft/vscode/wiki/Performance-Issues. Thanks.

I made a mistake ( sorry for that) and the extended information is here:
https://github.com/microsoft/vscode/issues/146809

closing to continue in #146809

authors: Niknu jrieken


text:
VSCode-insiders lock wsl terminal

Issue Type: Bug
With the newest version, opening vscode in terminal (for instance, code-insiders . ) locks the terminal (Can't use the terminal for other tasks).
In previous versions, whenever I open vscode in terminal, it opens the editor and it was possible to keep using the same terminal windows for other tasks
VS Code version: Code - Insiders 1.67.0-insider (b84feecf9231d404a766e251f8a37c730089511b, 2022-04-11T05:15:52.676Z)
OS version: Windows_NT x64 10.0.22593
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.82GB (1.56GB free)

Process Argv
--crash-reporter-id eaa10567-176b-4a19-9599-8b82ae831ba7

Screen Reader
no

VM
0%

Extensions (36)

Extension
Author (truncated)
Version

vscode-sqlite
ale
0.14.0

spellright
ban
3.0.62

vagrant
bbe
0.5.0

better-toml
bun
0.3.2

lua-templates
com
0.0.1

dart-code
Dar
3.38.2

flutter
Dar
3.38.1

vscode-markdownlint
Dav
0.47.0

vscode-eslint
dba
2.2.3

gitlens
eam
12.0.5

vscode-npm-script
eg2
0.3.24

prettier-vscode
esb
9.5.0

vscode-firefox-debug
fir
2.9.6

foam-vscode
foa
0.17.8

go
gol
0.32.0

beautify
Hoo
1.5.0

vscode-markdown-notes
kor
0.0.24

git-graph
mhu
1.30.0

vscode-docker
ms-
1.21.0

vscode-language-pack-pt-BR
MS-
1.66.2

vscode-edge-devtools
ms-
1.4.7

python
ms-
2022.4.1

vscode-pylance
ms-
2022.4.0

jupyter
ms-
2022.3.1000901801

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.232.5

remote-wsl
ms-
0.66.0

live-server
ms-
0.2.12

vscode-paste-image
mus
1.0.4

indent-rainbow
ode
8.3.1

red
red
0.4.3

rust
rus
0.7.8

vscode-lua
tri
0.12.4

vscode-vlang
vla
0.1.11

markdown-all-in-one
yzh
3.4.0

(1 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30422396
pythontb:30258533
vsc_aa:30263845
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
wslgetstarted:30449409
pythonvspyt640:30438691
vscscmwlcmt:30465136
vscaac:30438845
pynewfile477:30451556

Additional info: the lock happens only when vscode-insiders is closed. If there's an open window already, the lock doesn't happen

Can you pls attach a gif so I know exactly what you're talking about?

Additional info: the lock happens only when vscode-insiders is closed. If there's an open window already, the lock doesn't happen

So no vscode windows are open and in an external terminal you run code-insiders .?

Additional info: the lock happens only when vscode-insiders is closed. If there's an open window already, the lock doesn't happen

So no vscode windows are open and in an external terminal you run code-insiders .?

Exactly this. Whenever I run the command in a external terminal, the external terminal was locked, coudn't be used for another tasks.  However, in the last update (downloaded this morning) the bug doesn't happen anymore.

Okay great, so closing this as it must be fixed

authors: Cybercrab meganrogge


text:
recent projects in app icon's/launcher's context menu on linux (.desktop file actions)

It would be helpful to have a list of recent projects in the launcher's context menu on Linux, to quickly open file using RMB on the VSCode icon on dock. This feature is already present on macos:

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


text:
editor.codeActionsOnSave not work

Issue Type: Bug
editor.codeActionsOnSave not work after update to newest version
VS Code version: Code 1.69.1 (Universal) (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a, 2022-07-12T08:21:51.333Z)
OS version: Darwin arm64 21.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 Pro (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
11, 11, 11

Memory (System)
16.00GB (0.08GB free)

Process Argv
--crash-reporter-id 9168d397-3e27-40e1-9e2e-f7620de3c016 --crash-reporter-id 9168d397-3e27-40e1-9e2e-f7620de3c016

Screen Reader
no

VM
0%

Extensions (64)

Extension
Author (truncated)
Version

better-comments
aar
3.0.0

codesnap
adp
1.3.4

project-manager
ale
12.6.1

clipboard-history
Anj
1.0.7

tasks-shell-input
aug
1.7.2

node-snippets
chr
1.3.3

doxdocgen
csc
1.4.0

vscode-eslint
dba
2.2.6

xml
Dot
2.5.1

es7-react-js-snippets
dsz
4.4.3

gitlens
eam
12.1.2

EditorConfig
Edi
0.16.4

prettier-vscode
esb
9.5.0

code-runner
for
0.11.8

next-js
fox
0.0.2

shell-format
fox
7.2.2

go
gol
0.35.1

vscode-drawio
hed
1.6.4

output-colorizer
IBM
0.1.2

bridlensis
idl
1.2.2

haskell-nsis
idl
1.1.0

nsis
idl
3.51.2

nsl-assembler
idl
1.2.1

comment-translate
int
2.2.4

plantuml
jeb
2.17.3

better-cpp-syntax
jef
1.15.19

cmake-language-support-vscode
jos
0.0.4

vscode-leetcode
Lee
0.18.1

vscode-language-babel
mgm
0.0.36

git-graph
mhu
1.30.0

code-beautifier
mic
2.3.3

csharp
ms-
1.25.0

vscode-dotnet-runtime
ms-
1.5.0

remote-containers
ms-
0.241.3

remote-ssh
ms-
0.84.0

remote-ssh-edit
ms-
0.80.0

remote-wsl
ms-
0.66.3

cmake-tools
ms-
1.11.26

cpptools
ms-
1.10.8

cpptools-extension-pack
ms-
1.2.0

powershell
ms-
2022.6.3

vscode-typescript-next
ms-
4.8.20220719

vscode-typescript-tslint-plugin
ms-
1.3.4

debugger-for-chrome
msj
4.13.0

vetur
oct
0.35.0

indent-rainbow
ode
8.3.1

material-icon-theme
PKi
4.19.0

polacode
pnp
0.3.4

java
red
1.8.0

vscode-uppercase
rui
1.0.1

code-settings-sync
Sha
3.4.3

markdown-preview-enhanced
shd
0.6.3

svg-preview
Sim
2.8.3

umlet
the
15.0.0

cmake
twx
0.0.17

vscodeintellicode
Vis
1.2.22

vscode-java-debug
vsc
0.42.0

vscode-java-dependency
vsc
0.20.0

vscode-java-pack
vsc
0.24.0

vscode-java-test
vsc
0.35.2

vscode-maven
vsc
0.36.0

volar
Vue
0.38.9

vscode-typescript-vue-plugin
Vue
0.38.9

change-case
wma
1.0.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30525688
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30529770
vsclangdc:30486549

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

settings.json
{
  "prettier.singleQuote": true,
  "editor.tabSize": 2,
  "prettier.semi": true,
  "[scss]": {
    "editor.formatOnSave": true,
  },
  "editor.codeActionsOnSave": {
    "source.fixAll": true,
    "source.fixAll.eslint": true
  },
  "eslint.validate": ["javascript", "typescript"],
  "npm.packageManager": "yarn",
  "cmake.configureOnOpen": false,
}

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot ouxuwen


text:
Merge editor: show base at top x2?

This looks and reads a bit weird to me:

This does not really do anything when I am in Column Layout which I think is even the default.

I think precondition or the when clause of the command, I always forget:
https://github.com/microsoft/vscode/blob/044571548e0268d0e4f09300a05887e4495b84a8/src/vs/platform/action/common/action.ts#L41
@jrieken knows for sure

precondition just disables that entry, it doesn't hide it

@hediet try with:
https://github.com/microsoft/vscode/blob/044571548e0268d0e4f09300a05887e4495b84a8/src/vs/platform/actions/common/actions.ts#L22

It is the when clause that defines if an item appears in the menu

In addition to hiding this when it doesn't apply: can we find a better solution for when it applies. Can we have
for column mode
✔ Show Base
for mixed mode (radio-logic for these two)
✔ Show Base At Top
🔲  Show Base In Middle

Fixed

I still find this weird:

Throwing in some ideas:
Column Layout
I would think just a toggle for the base is fine so that it becomes a single entry.
Mixed Layout
A radio group of 3 entries: "Hide Base", "Show Base Top", "Show Base Center". Alternatively if we worry about too many entries, we could also do a submenu for "Base" specifically with these options.

Verification steps:
Open a merge conflict and verify these menu entries:

authors: bpasero hediet jrieken


text:
Titlebar on a small editor window when using VS Code in Simplified Chinese has overlapping text

Switch the editor to Simplified Chinese.
Resize the window to be smaller.
:bug: The titlebar menu entries collide with the title.

Unable to reproduce, an you still reproduce @rzhao271?

Nope, which is great


text:
Markdown full support🧐

   https://www.markdownguide.org/tools/vscode/

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!


text:
extension  wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST

Type: Bug
Open VSCode
Check Developer: Toggle Developer Tools
VS Code version: Code - Insiders 1.75.0-insider (f1b09237cd400d92987cf7a9681995e8011ef54c, 2023-01-23T11:53:59.088Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 5.15.0-1031-azure

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.72GB (7.57GB free)

Process Argv
--crash-reporter-id 857fed38-4fa8-49ff-b2f3-bbf104e17732

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: devlab.linepulse.ca

OS
Linux x64 5.15.0-1031-azure

CPUs
Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (2 x 2593)

Memory (System)
7.76GB (6.11GB free)

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

jupyter-keymap
ms-
1.0.0

remote-containers
ms-
0.271.0

remote-ssh
ms-
0.94.0

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.72.0

vscode-remote-extensionpack
ms-
0.23.0

remote-explorer
ms-
0.0.3

vscode-eslint
dba
2.3.0

gitlens
eam
13.2.0

vscode-pull-request-github
Git
0.57.2023012309

kite
kit
0.147.0

vscode-docker
ms-
1.23.3

isort
ms-
2022.8.0

python
ms-
2022.20.2

vscode-pylance
ms-
2023.1.30

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.14

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

makefile-tools
ms-
0.6.0

vsliveshare
ms-
1.0.5808

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
vscrp:30624060
pythonsymbol12:30622696
2i9eh265:30646982

Logs from Console when using 'Developer: Toggle Developer Tools'
 INFO Electron sandbox mode is enabled!
log.ts:398  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:398  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.azure-repos' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:398  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.remote-repositories' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:398  WARN Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'commentsResolvedState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:398  WARN Via 'product.json#extensionEnabledApiProposals' extension 'github.remotehub' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:398  WARN Skipping extension /c:/Users/Sami/.vscode-insiders/extensions/ms-vscode-remote.remote-wsl-recommender-0.0.18 in favour of the builtin extension /c:/Program Files/Microsoft VS Code Insiders/resources/app/extensions/ms-vscode-remote.remote-wsl-recommender.
log.ts:398  WARN Skipping extension /c:/Users/Sami/.vscode-insiders/extensions/ms-vscode.js-debug-1.74.0 in favour of the builtin extension /c:/Program Files/Microsoft VS Code Insiders/resources/app/extensions/ms-vscode.js-debug.
log.ts:404   ERR Extension 'vscode.git' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.github-authentication' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.html-language-features' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.json-language-features' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.markdown-language-features' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.media-preview' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.merge-conflict' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.microsoft-authentication' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.simple-browser' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'vscode.typescript-language-features' wants API proposal 'telemetryLogger' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.

I think this proposal has been finalized in the latest Insiders build, in preparation for 1.75 release. Endgame for that has started today.
Going forward these extensions should get updated so they no longer ask for this proposed API.
Are the messages causing any problems?

It is causing other extensions to fail, for example the Python extension cannot start

While these error messages are annoying and they will be fixed for tomorrow's insiders release these extensions should still work and activate properly. Are you not seeing that?

It gets stuck at the Python extension loading view. I will manage for a day :)

The actual solution is to install pre-release version of Python extensions installed in bundle.
Volia, it's working for me without hanging the extension load.

authors: Kurzdor gjsjohnmurray lramos15 sarodz


text:
It's really really slow

Type: Bug
It's really really slow. I have a pretty decked out machine but for whatever reason it's taking ages to load. I reinstalled, cleared extension etc etc. but i've got no idea what's going on
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i9-12900H (20 x 2918)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.70GB (19.48GB free)

Process Argv
--crash-reporter-id e358e616-8102-4686-8279-4c32375d2f16

Screen Reader
no

VM
50%

Extensions (7)

Extension
Author (truncated)
Version

python
ms-
2023.6.1

vscode-pylance
ms-
2023.4.40

jupyter
ms-
2023.3.1201040234

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
89544117:30613380
vscrpc:30673769
pythonsymbol12:30671437
a9j8j154:30646983
showlangstatbar:30730054
vsctsb:30705553
azdwalk:30721579
pythonms35:30701012
pythonfmttextcf:30716743
pythonclientmvcf:30725893
fixshowwlkth:30730052
showsbindicator:30730056

Do you have McAffee AntiVirus installed and running?

Yea.. om i found out that's the problem.... sorry

Thanks, we will investigate and maybe follow up with them.


text:
Ubuntu LTS cinnamon ; arm64 repo sync ; broken

Ubuntu-arm64 LTS cinnamon ; image ; vscode repo sync last ; totally broken
window doesn't render/unusable.
Can you do descent QA before releasing?
Thank you. Better than any words -> the penalty in pixels:

Can you provide the output of code --verbose

Hey @deepak1556, this issue might need further attention.
@mu578, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


text:
Undue C++ namespace std error

Type: Bug
Error from Closed Issue  #184167 still persists.
In C++ code, even with "using namespace std", code still sometimes shows "cout is ambiguous" error message. When clicking to run code it runs fine. Also if window is reopened error message disappears.
Code:
`#include
using namespace std;
int main()
{
cout << "test string" << endl;
cout << "another string";
return 0;

}`
EDIT: For some reason Github is not properly displaying pasted code. And thus it is missing the iostream header. Make sure to include that when copying/pasting the code.

VS Code version: Code - Insiders 1.80.0-insider (636dbcff557af8aa088ae118b1a094dce6632ce7, 2023-06-21T08:21:53.800Z)
OS version: Darwin arm64 21.6.0
Modes:

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.08GB free)

Process Argv
--crash-reporter-id f324f5e2-5bae-4725-be16-5efc5b642d47

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

code-runner
for
0.12.0

copilot-chat
Git
0.3.2023062201

copilot-nightly
Git
1.92.179

cpptools
ms-
1.16.1

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
py29gd2263cf:30773604
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyind779:30611226
pythonsymbol12:30651887
a9j8j154:30646983
showlangstatbar:30737417
pythonms35:30671666
03d35959:30757351
7ij38806:30687742
pythonfmttext:30716741
pythoncmvfstr:30726892
fixshowwlkth:30771523
showindicator:30766888
pythongtdpath:30726887
bgfeh915:30769767
gsof1:30771514
dh2dc718:30770000
pythonnosmt12:30773574
pythonidxpt:30768918
pythondjangots:30768917
pythonnoceb:30766855
copilotsettingt:30767686
e537b577:30772214

@sean-mcmanus  Sorry about that. Same as https://github.com/microsoft/vscode/issues/185304#issuecomment-1609214616

authors: isidorn vitorfff


text:
I am trying to use vscode for my cs50 course and I keep getting this error. Apparently, VSCode is not able to load my files:

ADD ISSUE DESCRIPTION HERE
Version: 1.80.0
Commit: 660393deaaa6d1996740ff4880f1bad43768c814
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Embedder: codespaces

Please file the issue against cs50

authors: aeschli samansadri


text:
Sidebar View Keyboard Shortcuts Not Working

Type: Bug
Attempt to change the sidebar view by using their respective keyboard shortcuts, e.g. CMD + Shift + E for Explorer or CMD + Shift + X for Extensions.
Both shortcuts do nothing.
I checked the keyboard shortcut settings and both shortcuts still appear to be set correctly.
VS Code version: Code 1.84.0 (d037ac076cee195194f93ce6fe2bdfe2969cc82d, 2023-11-01T11:29:51.160Z)
OS version: Darwin arm64 23.1.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 4, 4

Memory (System)
16.00GB (0.17GB free)

Process Argv

Screen Reader
yes

VM
0%

Extensions (64)

Extension
Author (truncated)
Version

better-comments
aar
3.0.2

scss-lint
ada
0.1.11

Bookmarks
ale
13.4.2

project-manager
ale
12.7.0

Handlebars
and
0.4.1

vscode-color
ans
0.4.5

razor-plus
aus
0.1.4

vscode-intelephense-client
bme
1.9.5

turbo-console-log
Cha
2.9.6

vscode-better-align
cho
1.4.2

npm-intellisense
chr
1.4.5

path-intellisense
chr
2.8.5

vscode-svgviewer
css
2.0.0

vscode-markdownlint
Dav
0.52.0

mustache
daw
1.1.1

jshint
dba
0.11.0

vscode-eslint
dba
2.4.2

css-initial-value
dzh
0.2.6

permute-lines
ear
1.1.0

EditorConfig
Edi
0.16.4

moxer-icons
Equ
5.6.2

vsc-material-theme
Equ
33.2.0

vsc-material-theme-icons
equ
1.2.2

text-transform
flo
0.1.0

auto-close-tag
for
0.5.14

unibeautify-vscode
Gla
0.8.2

todo-tree
Gru
0.0.226

npm-dependency-links
her
1.2.0

vscode-htmlhint
HTM
1.0.5

output-colorizer
IBM
0.1.2

applescript
idl
0.25.1

vs-docblock
jer
1.4.0

vscode-text-pastry
jkj
1.3.1

svg
joc
1.5.3

minifyall
jos
2.10.0

vscode-ksdiff
kal
1.0.2

tag-rename
kri
0.2.1

VS-code-drupal
mar
0.0.12

pretty-formatter
mbl
0.2.2

twig-language-2
mbl
0.9.2

dotenv
mik
1.0.1

vscode-scss
mrm
0.10.0

python
ms-
2023.20.0

remote-ssh
ms-
0.108.2023110115

remote-ssh-edit
ms-
0.86.0

remote-server
ms-
1.5.0

color-highlight
nau
2.5.0

vetur
oct
0.37.3

laravel-blade
one
1.34.0

material-icon-theme
PKi
4.31.0

bracketeer
pus
1.3.1

LiveServer
rit
5.7.9

vscode-swift-language
rlo
0.2.0

vscode-cy-helper
She
1.2.2

stylelint
shi
0.51.0

swiftlint
shi
0.1.3

vscode-fileutils
sle
3.10.3

vscode-taskexplorer
spm
2.13.2

open-in-browser
tec
2.0.0

vscode-input-sequence
tom
0.2.0

highlight-matching-tag
vin
0.11.0

vscode-todo-highlight
way
1.0.5

fig
wit
0.0.7

wordpress-toolbox
wor
1.3.15

(2 theme extensions excluded)

/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


text:
The JS/TS language service immediately crashed 5 times. The service will not be restarted.

Type: Bug
all of a sudden. out of nowhere.
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:47:11.635Z)
OS version: Linux x64 6.2.0-39-generic
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 3345)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
11.33GB (5.03GB free)

Process Argv
. --crash-reporter-id a35d7b0b-9105-48c6-b91e-9d7b95e59167

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
wayland

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30899288
vscaac:30438847
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pythonregdiag2:30926735
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232
cp7184c:30925681

/duplicate https://github.com/microsoft/vscode/issues/201553


text:
Typescript is crashing a lot

Type: Bug
We have a monorepo with multiple apps but typescript is crashing a lot, to fix this we have to reload the whole ts server or the project itself. Help!
VS Code version: Code 1.81.1 (Universal) (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:20:33.924Z)
OS version: Darwin arm64 23.0.0
Modes:

System Info

Item
Value

CPUs
Apple M2 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
4, 3, 3

Memory (System)
24.00GB (1.43GB free)

Process Argv
--crash-reporter-id e61a3659-bc9e-471d-8811-82d62c199394

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

codesnap
adp
1.3.4

vscode-open-in-github
ang
0.0.1

vscode-eslint
dba
2.4.4

gitlens
eam
14.5.2

prettier-vscode
esb
10.1.0

vscode-jest-runner
fir
0.4.68

copilot
Git
1.155.0

copilot-chat
Git
0.6.0

vscode-pull-request-github
Git
0.70.0

git-graph
mhu
1.30.0

prisma
Pri
5.8.1

pretty-ts-errors
Yoa
0.5.3

markdown-all-in-one
yzh
3.6.2

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30933248
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
3ef8e399:30949928

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: Cesaraugp VSCodeTriageBot


text:
Screen Flickering

Type: Bug
Simply open VS Code. Anytime the app is onscreen, it flickers.
VS Code version: Code - Insiders 1.89.0-insider (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:05:10.904Z)
OS version: Windows_NT x64 10.0.22635
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9700F CPU @ 3.00GHz (8 x 3000)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.92GB (20.47GB free)

Process Argv
--crash-reporter-id d6f52400-5f0d-4cdb-bc72-831bb5e061f1

Screen Reader
no

VM
0%

Extensions (33)

Extension
Author (truncated)
Version

dadroit-json-generator
Dad
1.1.7

composer-php-vscode
DEV
1.45.15341

profiler-php-vscode
DEV
1.45.15341

go
gol
0.41.4

vs-code-runner
Har
2.0.1

al-test-runner
jam
10.12.2

excel-live-server
loc
4.0.30

r
Mik
0.0.32

csdevkit
ms-
1.5.18

csharp
ms-
2.28.8

vscode-dotnet-runtime
ms-
2.0.3

vscodeintellicode-csharp
ms-
2.0.25

data-workspace-vscode
ms-
0.5.0

mssql
ms-
1.22.1

sql-bindings-vscode
ms-
0.4.0

sql-database-projects-vscode
ms-
1.4.1

debugpy
ms-
2024.5.11172029

python
ms-
2024.5.11172159

vscode-pylance
ms-
2024.4.105

jupyter-keymap
ms-
1.1.2

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

remote-wsl
ms-
0.88.2

remote-explorer
ms-
0.5.2024031109

remote-server
ms-
1.6.2024042409

vscode-serial-monitor
ms-
0.11.240501001

vscode-thunder-client
ran
2.21.18

r-debugger
RDe
0.5.4

r
REd
2.8.2

jinjahtml
sam
0.20.0

ruby-lsp
Sho
0.6.10

vscode-java-debug
vsc
0.57.2024041008

vscode-java-test
vsc
0.41.2024042308

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
vsaa593cf:30376535
py29gd2263:31024238
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfnew:30980852
fegfb526:30952798
bg6jg535:30979844
ccp2r3:30958153
pythonait:30973460
jchc7451:30973074
gee8j676:31009450
showvideot:31016890
chatpanelt:31014475
01bff139:31013167
pythoncenvpt:31022790
a69g1124:31018687
j0bi8933:31021562
dvdeprecationcf:31030042
pythonprc:31030355
dwnewjupytercf:31035177

Try disabling video card acceleration - https://gist.github.com/andriyudatama/fe5d00deb36feeea30ef35a5ea0f7eff

What is your laptop model?
Do you have an OLED matrix?

If you have it turned on, turn it off

In MyASUS app

That is not an option available to me

Tryb disable / enable MUX switch

This is not a laptop, it does not use an integrated graphics card. I do not have an MSI Center app installed, and therefore no MUX switch is present.

I thought I had already tried this, but I double checked and found that I had forgotten a comma at the end of the line. Fixed, thanks for your time!


text:
Empty tabs constantly (re)appear.

 Does this issue occur when all extensions are disabled?
 No

 VS Code Version
 code-insiders-1.92.0-1720677214.el8.src.rpm

 OS Version
 cpe:/o:fedoraproject:fedora:40

Steps to Reproduce
Paraphrased, as https://lemmy.ml/post/17832504/12189295 explains:

A few weeks ago, VSCode began to constantly recreate tabs. Notably, they are always considered to have been modified, so I have to confirm their closure.
I initially thought that the undermentioned log might be the cause:

2024-07-10 13:50:43.340 [error] Unhandled method getIdAtPosition: Error: Unhandled method getIdAtPosition
    at /home/RokeJulianLockhart/.vscode-insiders/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/extension.js:2:398068
    at re (/home/RokeJulianLockhart/.vscode-insiders/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/extension.js:2:398362)
    at /home/RokeJulianLockhart/.vscode-insiders/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/extension.js:2:393146
    at Immediate.<anonymous> (/home/RokeJulianLockhart/.vscode-insiders/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8/dist/extension.js:2:393166)
    at processImmediate (node:internal/timers:478:21)
    at process.topLevelDomainCallback (node:domain:160:15)
    at process.callbackTrampoline (node:internal/async_hooks:128:24)

...because another entry appeared to always occur each time I closed one of these tabs. However, it stopped appearing today, so I'm a loss for the cause.
The attached URI is this video, which depicts the reappearance of the tabs.

https://wim.nl.tab.digital/apps/tasks/#/collections/all/tasks/F0277DC5-F74B-4414-9CAF-39D78D8225A3.ics


text:
Wiki bug: File watching issues for Logging (remote)

https://github.com/microsoft/vscode/wiki/File-Watcher-Issues#logging-local says that viewing remote file watcher issues should be done by checking the Log (Remote Server) output channel. But it does not exist.

Note that I am trying to find file watching issues in regards to using WSL, and that the Source Control view does not refresh after saving files.

Does this help?
Logging (remote)
!!! This is ONLY when you open a remote workspace (WSL, Docker, SSH), for local see above !!!
We provide logging for file events when you enable verbose logging. Steps are:

open VSCode on the remote workspace that shows the issue
select View | Command Palette...
select Developer - Set Log Level...
pick Trace
select View | Output
select Log (Remote Server) from the dropdown
attach the output when doing the operation that exhibits the issue

@bpasero no. That was the part I went through and followed. You can see it says:

select Log (Remote Server) from the drop down.

As you can see in the screenshot, there is no Log (Remote Server) for me to select.

True, its called Server now. Updated the wiki.

authors: bpasero thernstig


text:
Terminal inline chat buttons can go beyond widget

Clicking outside of the input fixes the problem
Using stable 1.94.1 and Copilot 0.22.1

Can't repro anymore


text:
How to add custom options to the right-click menu of a specific question in the "Questions" section

How to add custom options to the right-click menu of a specific question in the "Questions" section.The options added by other plugins are shown in the picture.

You mean the Problems view.

You mean the Problems view.

yes

Those are quick fixes for the problems and are added via code actions API - https://github.com/microsoft/vscode/blob/069e8e50b0bc4b11b1830724cab037b2c7c67d34/src/vscode-dts/vscode.d.ts#L14201

authors: aeschli ahJett sandy081


text:
Tabs: Pointless insertion of ellipses for description

use tabs
open a file with the uri mem://füø/testz
arrange tabs/window so that there is limited width
🐛 ellipses are being inserted but nothing is being removed

I cannot reproduce this

I assume this is fixed meanwhile, otherwise please reopen with steps how to reproduce. I tried with the mem-fs extension creating 2 files of same name in different folders.

authors: bpasero jrieken


text:
[scss] warn if declaration ends without a semicolon

 Done
 Not Done

VSCode Version: 1.26.1
OS Version: Mac OS 10.13

Steps to Reproduce:

Disable all VSCode extensions
Create a Vue-Cli 3 project
Create a scss file with the following code:

.x-change {
  &-enter {
    transform: translateX(100%) // <== Please pay attention to the missing semicolon here!

    &-to {
      transform: translateX(0);
    }
  }
}

Compile the project with "npm run serve"

Does this issue occur when all extensions are disabled?: Yes
EXPECTED:
VSCode should indicate the missing semicolon as error.
WHAT HAPPENS:
VSCode does not recognize the missing semicolon as error and compiles, which results in wrong css that looks like this:
.x-change-enter {
  transform: translateX(100%) .x-change-enter -to; // <== this is a mess!
    transform-transform: translateX(0);
}

FURTHER COMMENTS:
Tested with a vanilla version of phpStrom: there the error is recognized. So it cannot be a project setup error...

@beastdestroyer Thanks you for your feedback! It is a bit weird though...
First of all: this is a bug report. So I wouldn't expect something like "Remember to..." to read here. That's condescending. You can write stuff like that on gitter or stackoverflow or wherever there is forum-like support for VSCode (and before I posted here, I did ask on gitter as well as on the Vue help sources).
Second: the last semicolon after the last declaration is optional. And that is by design. In CSS. And it would be so in SCSS, if it was last on the scope, as well. But my example clearly shows: it is not at the end of the scope, but right before a nested scope. (Probably a different story in SASS [not tested], but this is SCSS)
Third: I did test extensions beforehand. But: a) I would expect you to test those "recommendations", too, before you post into the blue and cause waste-of-time; and b) this is clearly a pure VSCode problem. Therefore the bug report here at this place. And if that is wrong, somebody tell me and direct me to the proper place.
Look, @beastdestroyer, I know that I am not friendly now. But I would really like to draw clear line. When posting a bug report here, there are clear rules that everybody has to observe. I did that (almost; did not test with the "nightly release"). And I try to stick with all those rules that the other platforms established (with stackoverflow being the real PITA).
With all those different places, where to ask and what to post and which rule is where and eventually nobody cares and everything is wishy-washy and causes nothing else but waste of time, then ... why the heck post at all?
So please: test what I posted. Post a comment, either a confirmation or a solution, but not just a foggy recommendation that you didn't test at all for the given problem, because that leads to a waste of time, not only for me and you, but also for everybody that will read this at a later. And please refrain from things like "Remember...". That's really insulting.
No hard feelings! Let's just do it better. Best, Robert

@rowild Thanks for the report.
I tried your example on sassmeister (running the latest Sass version) and came to the same result as you.  For the SCSS compiler, the missing semicolon is not really an issue, it just sees the following declaration as arguments. SCSS is very syntax tolerant and it doesn't validate if the generated CSS makes sense and is supported by any browser.
But I think we could detect that if there's a new line the user probably forgot a semicolon.

I am confused again...
The thing is that VSCode does neither show any kind of warning/error in the source code nor does it generate correct CSS. Which makes it a bug! In any case. Either the compiler needs a fix or the code needs an error message.
(If sassmeister generates correct CSS, then their compiler is doing something better. But it does not relieve VSCode from its responsibility to generate correct CSS, right?)
So: I wonder why you call it "feature-request", when it is indeed a bug...? I am not a hardcore developer, so any explanation as to why you think it is a "feature request" and not a "bug report" would be welcome! (I am really very confused. If I have to change/improve my report, please let me know. Because I actually think that it is very clear, but I am always eager to improving/correcting myself...)

VSCode doesn't generate the css, it just validates the scss input. The css generation likely happens when you run npm run serve.
From a SCSS compiler standpoint, the input code is valid syntax, as you can write a declaration over multiple lines.
Using the SCSS tool as guidance I don't think VSCode should emit an error either.
Maybe it's worth filing this also against the SCSS compiler and see what they say.
I kept the issue open as a feature request as think it could be useful to add a style guide warning if you terminate a declaration without a semicolon as this likely unintended.
Sorry for changing the intend of your request. I'm happy to change it back to bug request, but I'll probably close it as won't fix  I don't think we should flag something as an error if SCSS doesn't think it's one. SCSS is used in some many contexts and we don't understand them all.

All right - understood!
Then I just wonder, why web-/phpStorm can handle it? (This is not meant as a stubborn reaction, but instead I really ask myself, why do those IDEs recognize that there could be a problem? VSCode should be able to do as good as they do IMO...)

Actually - I have to get back to you on this: sassmeister also compiles to wrong CSS, please see attached file. So the problem is SCSS itself, it seems. Phew... so confusing...

You can get that warning on stylelint:

With the Stylelint extension, you get that in VS Code as well:

Well, I do not really like your decision, but I will live with it.
The reason why I don't like your decision is that the rules for reporting a bug require a "testing with all extensions disabled" scenario. Now your response is one that DOES require an extension. This is chaotic: Either VScode does SCSS correctly – and that means recognising errors – or using SCSS in VScode requires an extension right from the beginning. But this solution is just the road to chaos: half a bit by this, half a bit by that... this feels so ... Microsoft ...
IMO, instead of always implementing new features, existing features should be fixed.
However, since I do not contribute, I respect the decisions you guys make.
Happy coding back to you, too.

The SCSS support does not share the compiler with SASS itself, so we can't use error messages from there. With SASS adding new syntaxes, we'll continue to make sure auto-completion, hover information etc are working, but we don't have time replicating the compiler and all its error messages.
In my experience Stylelint is very up-to-date with latest syntax, so I'd say just use that.

authors: aeschli octref rowild


text:
SCM exploration icon is bold

From #8017 Issue Type: Bug

Install and activate icons Material
"breadcrumbs.enabled": false,
Reload Window
Open any editor and create Error/Warning in code
SCM icon becomes bold

VS Code version: Code - Insiders 1.37.0-insider (d50852db1af10ec100a71ad57cc3a04c8aead117, 2019-07-08T05:37:36.104Z)
OS version: Windows_NT x64 10.0.18362

Not reproducible with new version. Commit: 9296aaa2201b638e2b1dc71a9b9fe38c5ab2e904
Did you change something? I'm curious what that bug was...

I did update the Git icon via https://github.com/microsoft/vscode/commit/58e2a079a521b2a8743fb83bf2a5d69489c6f2d4. What was happening was the circles were not on the pixel grid so we re-drew them and placed them on-grid to avoid pixelation that would add to the weight.
Not sure how this would've solved this issue though, if it's not reproducible then feel free to close the issue.

authors: misolori usernamehw


text:
Green TSLint

After enabling and pushing some more TSLint rules, we should try to get to 0 warnings to make it possible to make our build fail when there are any TSLint warnings.
To run: gulp tslint
So far we have:

for-in-loops: https://github.com/microsoft/vscode/issues/79432
bad global access: https://github.com/microsoft/vscode/issues/79429
DOM in Common

https://github.com/microsoft/vscode/issues/79426
https://github.com/microsoft/vscode/issues/79425
https://github.com/microsoft/vscode/issues/79424
ITreeView#show(HTMLElement) @sandy081
KeybindingsEditor#layoutColumns(columns: HTMLElement[]) @sandy081

Fixed in files I own.

There is still https://github.com/microsoft/vscode/issues/79425 and https://github.com/microsoft/vscode/issues/79210 but we can track that independently.