vscode-icons | Custom Visual Studio Code Icons | Icon library
kandi X-RAY | vscode-icons Summary
kandi X-RAY | vscode-icons Summary
A fun little project for custom Microsoft Visual Studio Code Icons. All rights reserved with @Microsoft and the respective creators of the themes.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main function .
vscode-icons Key Features
vscode-icons Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-icons
QUESTION
I'm having trouble here when I want to save my golang project, where when I want to import "fmt" then I save the "fmt" script it disappears. then how do i fix it
setting.json (vscode) :
...ANSWER
Answered 2022-Feb-24 at 09:03You usually don't need to manually add imports. Write fmt.Println(1)
and see if it keeps it.
QUESTION
I'm using VS Code, and wanted to change the color of the menu bar. With menu bar I mean the bar that contains Items like the Explorer, the search function, extensions etc. I read through the hole documentation, and only found this. But this describes another menu bar, the bar that you unfold with the Manage option.
My local settings.json file contains this:
...ANSWER
Answered 2021-Aug-10 at 18:46That is the Activity Bar
. There are a few customizations for it like:
"activityBar.background": "#647c64",
and more. Just search in the colorCustomizations
for activityBar
.
QUESTION
I use VS Code, and wanted to change the color of the variables in Python code. I read that I have to add
...ANSWER
Answered 2021-Aug-09 at 09:42Could have a check like this? It works well on my computer.
Update:
You are using the theme of FireFly Pro
. The "variables": "#ff0000"
seems to not work, while it will work when using some other themes. This is because when you are using a different color theme, the variable is under a different scope.
For example:
The theme of Dark+
(Open the Command Palette: Inspect Editor Tokens and Scopes):
The theme of FireFly Pro
:
So if you want to modify it under FireFly Pro
color theme, you can customize it like this:
QUESTION
I want Python tests to have a different icon to regular Python files in VSCode so that it's easy to distinguish between code and tests. So one icon for *.py
and another icon for test*.py
. Seems like an easy thing to do but so far no luck.
It's not built into VSCode by default - https://github.com/microsoft/vscode/issues/12493. You can associate file patterns to different languages, eg: plaintext which changes the file icon but then that breaks the linting etc for the test:
...ANSWER
Answered 2021-Jul-07 at 15:17The Material Icon
and vscode-icons
developer explained that the VSCode does NOT support glob naming for icon themes
block them to support this feature.
So I have tried this with VSCode-icons
:
QUESTION
whenever I save a .py file, even if it's new, I get an error in my output window... I think is because of Pylance but I can use it without a problem.
I am new in Python and I don't really know how to fix that.
This is the message I get:
"""
User belongs to experiment group 'pythonaacf' User belongs to experiment group 'pythonSendEntireLineToREPL' User belongs to experiment group 'pythonNotDisplayLinterPrompt' User belongs to experiment group 'pythonTensorboardExperimentcf' User belongs to experiment group 'ShowExtensionSurveyPrompt - enabled' User belongs to experiment group 'CollectLSRequestTiming - control'
conda --version pyenv root python3.7 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" python3.6 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" python3 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" python2 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" python c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" py -3.7 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" py -3.6 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" py -3 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" ~\AppData\Local\Programs\Python\Python39\python.exe c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" py -2 c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py -c "import sys;print(sys.executable)" ~\anaconda3\Scripts\conda.exe info --json Error 2021-03-17 13:12:00: Detection of Python Interpreter for Command py and args -2 failed as file Python 2 not found!
-3.9-64 -3.8-64 -3.6-64 does not exist Error 2021-03-17 13:12:00: Detection of Python Interpreter for Command py and args -3.7 failed as file Python 3.7 not found!
-3.9-64 -3.8-64 -3.6-64 does not exist Python interpreter path: ~\AppData\Local\Programs\Python\Python39\python.exe Starting Jedi Python language engine.
~\anaconda3\Scripts\conda.exe info --json ~\AppData\Local\Programs\Python\Python39\python.exe c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text "d:\012_PYTHON\Udemy\004.Postgree and SQL\02.Start Postgree\psycopg2-binary.py" cwd: d:\012_PYTHON\Udemy\004.Postgree and SQL ~\AppData\Local\Programs\Python\Python39\python.exe c:\Users\jvald.vscode\extensions\ms-python.python-2021.3.658691958\pythonFiles\pyvsc-run-isolated.py pylint --disable=all --enable=F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text "d:\012_PYTHON\Udemy\004.Postgree and SQL\02.Start Postgree\psycopg2-binary.py" cwd: d:\012_PYTHON\Udemy\004.Postgree and SQL ~\anaconda3\Scripts\conda.exe env list ##########Linting Output - pylint##########
"""
This is my Settings Json:
...ANSWER
Answered 2021-Mar-19 at 01:27According to the information you provided, they show the process of VS Code loading related extensions, loading language services, and executing python scripts, and so on.
Please try to reinstall the "Python" extension and reopen VS Code.
QUESTION
I have the following workspace settings for my Django project in VSCODE.
...ANSWER
Answered 2021-Feb-06 at 14:30Ok I realized I found the issue and solution.
Basically the issue is that there are two formatters used to sort the imports.
I use the answer in this github comment
https://github.com/microsoft/vscode-python/issues/6933#issuecomment-543059396
QUESTION
In vscode I want to use Prettier as my default formatter, but not for Python, where I will just use autopep8. I have the following settings now:
...ANSWER
Answered 2020-Dec-23 at 08:25In VSCode, Python's "Formatting
" is provided by the Python extension. Therefore, for Python, please use the formatting from the Python extension (for example: autopepe8) to avoid using repeated formatting settings so that they do not work.
Reference: Formatting.
QUESTION
So I've set up vscode with Prettier, but it will not format .php files. .html files are working fine with Prettier. So when I have a .php with HTML code then it will be formatted differently, because I am using Beautify as last option.
How can I make Prettier automatically format .php files and the html code in .php the same as .html files?
settings.json
...ANSWER
Answered 2020-Aug-03 at 11:20Core prettier does not support PHP1, and thus neither does the plugin for VSCode/VSCodium. Luckily the designers of prettier seems to have thought of this and implemented a plugin system2.
According to the prettier-vscode repo, all you need to do to use a plugin is to add it and prettier to your package.json
3
So for php support your package.json would need to contain:
QUESTION
I have installed vscode-icons extension. And set this as my preferred File-Icon Theme using File -> Preferences option in Visual Studio Code. All folders and files icons disappear. The extension is installed properly and I could see all the icons in the installed extension folder.
But when I switch back to Set(Visual Studio Code) theme, all the folder and file icons are visible. I have tried all possible options like install and uninstalling packages, libraries, extensions and VS Code itself. Please find below screen shot,
ANSWER
Answered 2020-Jul-18 at 13:02I am able to see folder and file icons after installing one more alternative extension called file-icons.file-icons.
Earlier I tried at least 2 extensions. But to my surprise, none of them worked. So I assumed that, something wrong in the VS Code.
QUESTION
ANSWER
Answered 2020-Jun-10 at 15:46I finally solved it by uninstalling VS Code, deleting all configuration files and reinstalling.
Now when i have opened a python file and the current workspace contains a settings file with the correct python-interpreter the correct environment gets sourced.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-icons
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page