4,682 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
0
answers
47
views
How to properly set up a formatter for Vagrantfiles in VS Code?
Problem:
I am using VS Code to edit Vagrantfile (Ruby syntax). By default, VS Code does not format these files correctly. When I install recommended Ruby extension like Ruby LSP, nothing happens when ...
0
votes
0
answers
37
views
Clear command doesn't work in Visual Studio Code integrated terminal
On my old laptop, when I used the integrated terminal, when I run cls or clear command, the whole terminal gets cleared and starts a new line like a normal terminal.
Recently I got a new laptop and ...
3
votes
1
answer
39
views
How to get VSCode Python import suggestions to use shorter public alias rather than private
When I get import suggestions in VSCode they always import from the module where the thing was defined, even if that's a private module and the thing is re-exported in some public module. I would ...
14
votes
1
answer
2k
views
Invalid settings: setting option "vulncheck": invalid option "Prompt" for enum
the default option of go.diagnostic.vulncheck
it's warning "Invalid settings: setting option "vulncheck": invalid option "Prompt" for enum".
haven't find any other ...
0
votes
0
answers
72
views
VS Code Icon Extension not extending Material icons
I have a basic VS Code extension whose job is to add an icon to VS Code for my language the .cat.
For now I had this;
{
"iconDefinitions": {
"_file_cat": {
"...
-1
votes
0
answers
104
views
Stylelint extension not validating Tailwind CSS @apply directives in VS Code [closed]
I am using Tailwind CSS with PostCSS and trying to configure the Stylelint VS Code extension to validate my CSS files.
Despite having stylelint-config-tailwindcss installed and configured, the linter ...
-1
votes
0
answers
93
views
"There is no data provider registered that can provide view data" when opening folder on VScode remote
I am connected to a remote server from VScode using Remote-SSH. I can open files on the server normally, but get "There is no data provider registered that can provide view data" when ...
0
votes
1
answer
117
views
Some files appear with dropdown arrows like folders — how can I change this? [duplicate]
In VS Code, some files show a dropdown arrow and can be expanded, almost like folders (see image).
How can I disable or change this behavior?
I am using no extension that can cause this.
In other ...
0
votes
0
answers
71
views
VS Code UI actions (Discard Changes, Delete File, Undo) do nothing and play alert sound, but Git CLI works
I’m running into an issue in VS Code on Windows 11. File-modifying actions from the UI don’t seem to work, but doing the same actions from the terminal works fine.
What I expect:
Clicking Discard ...
0
votes
0
answers
103
views
VSCode Intellisense doesn't find my local file
I'm working on a project using the Butano library and C++. When creating new classes usually Intellisense should be able to recognize my files and all the libraries.
However, I see squiggly lines at (...
Best practices
0
votes
2
replies
91
views
What's the best setup to use Ruby on Windows?
I'm new to Ruby and I'd like to know the best way to program in Ruby on a Windows computer.
I already have a setup, but it's not working very well: I have VS Code with the Ruby LSP extension, and in ...
0
votes
2
answers
77
views
PHP CodeSniffer won't run in VSCode
I'm trying to get PHP CodeSniffer to run in my Visual Studio Code.
I have an identical second system (notebook) where it does work, but on my desktop, it simply won't lint.
Using the following (on ...
2
votes
1
answer
78
views
How do you have multiple Arduino sketches in one VSCode project with PlatformIO
I am migrating from the Arduino Community Edition to PlatformIO. I have a problem configuring a single VSCode project with multiple sketches using PlatformIO.
My current Arduino development folder ...
1
vote
0
answers
51
views
Run SQL query from Postgresql extension from VS Code just by placing the cursor in the query
I was wondering if there is a way to run a query just by placing the cursor in the line or block. I know I can run the query by selecting it, but to me it seems a bit inconvenient especially when ...
0
votes
1
answer
104
views
Can we edit .py files in VSCode and use Google Colab extension to run them on Google servers like Jupyter Notebooks?
I have just get my hands dirty with VSCode's extension Google Colab (by Google).
While I can connect to google servers for running Jupyter Notebooks (.ipynb files), Is there a way to use VSCode ...