vscode-settings

VS Code only displays 1 row of possible import paths. How do i convert back it to default listbox?

蹲街弑〆低调 提交于 2021-01-05 08:53:43
问题 I think I made some setting changes in vs code which made my import statements look like this. The default VS code import preview shows 3 or more paths. What would be the option I should change to revert it back to the default list box view? My settings.json 回答1: The last vscode update to v1.51 added the ability to change the size, height and width, of the suggestion box. It also seems to have set the box height to one lineHeight for some people. There is a command in the command palette to

How to resolve VScode terminal lag / choppiness when typing?

最后都变了- 提交于 2021-01-04 05:40:22
问题 Not sure if this is from Big Sur, installing the Docker extension or what else it could be but in the last week, I have noticed that when typing in the VScode terminal, every single time that I've done my git add. , git commit -m "etc", git push origin master, there is always once or twice where the terminal visually shows that I'm not typing anything for a brief moment. It essentially lags and shows the typing white square icon and in 1 second after a brief "pause" what I was actually typing

HTML files recognized as Django Template in VS Code

情到浓时终转凉″ 提交于 2020-12-29 05:15:46
问题 I'm new to VS Code, coming from ST3 and TextMate before that. A bit flummoxed why is HTML not autodetected nor is it offered as a choice of language after clicking on the lower-right language indicator? I've tried explicitly adding "files.associations": {"*.html": "html"} to the User Settings to no effect. Running VSCode v1.15.1 on macOS v10.12.6. 回答1: Include the following line of setting emmet.includeLanguages": {"django-html": "html"} in VSCode's settings.json: { "python.jediEnabled":

HTML files recognized as Django Template in VS Code

穿精又带淫゛_ 提交于 2020-12-29 05:15:26
问题 I'm new to VS Code, coming from ST3 and TextMate before that. A bit flummoxed why is HTML not autodetected nor is it offered as a choice of language after clicking on the lower-right language indicator? I've tried explicitly adding "files.associations": {"*.html": "html"} to the User Settings to no effect. Running VSCode v1.15.1 on macOS v10.12.6. 回答1: Include the following line of setting emmet.includeLanguages": {"django-html": "html"} in VSCode's settings.json: { "python.jediEnabled":

HTML files recognized as Django Template in VS Code

隐身守侯 提交于 2020-12-29 05:13:44
问题 I'm new to VS Code, coming from ST3 and TextMate before that. A bit flummoxed why is HTML not autodetected nor is it offered as a choice of language after clicking on the lower-right language indicator? I've tried explicitly adding "files.associations": {"*.html": "html"} to the User Settings to no effect. Running VSCode v1.15.1 on macOS v10.12.6. 回答1: Include the following line of setting emmet.includeLanguages": {"django-html": "html"} in VSCode's settings.json: { "python.jediEnabled":

HTML files recognized as Django Template in VS Code

不羁岁月 提交于 2020-12-29 05:12:35
问题 I'm new to VS Code, coming from ST3 and TextMate before that. A bit flummoxed why is HTML not autodetected nor is it offered as a choice of language after clicking on the lower-right language indicator? I've tried explicitly adding "files.associations": {"*.html": "html"} to the User Settings to no effect. Running VSCode v1.15.1 on macOS v10.12.6. 回答1: Include the following line of setting emmet.includeLanguages": {"django-html": "html"} in VSCode's settings.json: { "python.jediEnabled":

Preview features enabled at an invalid source release level 13, preview can be enabled only at source level 14Java(2098258)

天涯浪子 提交于 2020-12-26 04:30:14
问题 VS Code is showing anomalous behaviour from into my pc from the last couple of days. I am not able to run a simple java code. At the beginning it's it's giving an error: > Preview features enabled at an invalid source release level 13, preview can be enabled only at source level 14Java(2098258) The compilation result ends with: ` Error: Could not find or load main class Lol Caused by: java.lang.ClassNotFoundException: Lol Lol is the class name in which I have defined the main method. class

Saving '*.php/*.vue': Running 'PHP Intelephense/Vetur' Formatter

*爱你&永不变心* 提交于 2020-12-15 04:14:29
问题 I am having a bit problem on my VSCode. Everytime I save something, it just keeps loading. Screenshot I am not sure why. Everything was fine last week ago. And I can't even type anything on my terminal. I have this extensions installed. List 1 List 2 回答1: I had the same issue since about a week. I notice your PHP Intelephense extension is also on v1.5.4. I changed the extension to an older version (1.5.3), this solved the issue for me. I created an issue on the github page of the PHP

VSCode: Prevent split editor from resizing when focusing?

ぃ、小莉子 提交于 2020-12-12 04:39:52
问题 With multiple editor groups open, and one of them made small enough, focusing the small one causes it to get bigger until you switch back to another editor. I'd prefer it leave everything at the size I set. Is there a setting to prevent this? Note how it has to be made small first old example 回答1: If you don't minimize the group all the way - you only have to stop just a tiny bit short of complete minimization (maybe only a pixel short) - then shifting focus between groups will not change

VSCode: Prevent split editor from resizing when focusing?

不羁岁月 提交于 2020-12-12 04:38:59
问题 With multiple editor groups open, and one of them made small enough, focusing the small one causes it to get bigger until you switch back to another editor. I'd prefer it leave everything at the size I set. Is there a setting to prevent this? Note how it has to be made small first old example 回答1: If you don't minimize the group all the way - you only have to stop just a tiny bit short of complete minimization (maybe only a pixel short) - then shifting focus between groups will not change