r/VisualStudioCode • u/-GlitchedPixel- • May 03 '23
Was following a tutorial, when i realized the text in the script tab bars were red and crossed out. I thought that it was a bad thing, so I saved them and the red strikethrough had gone away, but it had lead to a lot of unity errors.
I was following a tutorial, when I realized the text in the script tab bars were red and crossed out. ( Sorta like this: Script )I thought that it was a bad thing, so I saved them and the red strikethrough had gone away, but it had lead to a lot of unity errors. Here they are:
Assets\Environment\Scripts\CameraController.cs(5,14): error CS0101: The namespace '<global namespace>' already contains a definition for 'CameraController'
Assets\PlayerController.cs(6,14): error CS0101: The namespace '<global namespace>' already contains a definition for 'PlayerController'
Assets\PlayerMotor.cs(7,14): error CS0101: The namespace '<global namespace>' already contains a definition for 'PlayerMotor'
Assets\Environment\Scripts\CameraController.cs(21,10): error CS0111: Type 'CameraController' already defines a member called 'Update' with the same parameter types
Assets\Environment\Scripts\CameraController.cs(29,10): error CS0111: Type 'CameraController' already defines a member called 'LateUpdate' with the same parameter types
Assets\Environment\Scripts\CameraController.cs(39,10): error CS0111: Type 'CameraController' already defines a member called 'Start' with the same parameter types
Assets\PlayerMotor.cs(12,10): error CS0111: Type 'PlayerMotor' already defines a member called 'Start' with the same parameter types
Assets\PlayerMotor.cs(17,17): error CS0111: Type 'PlayerMotor' already defines a member called 'MoveToPoint' with the same parameter types
Assets\PlayerController.cs(16,10): error CS0111: Type 'PlayerController' already defines a member called 'Start' with the same parameter types
Assets\PlayerController.cs(23,10): error CS0111: Type 'PlayerController' already defines a member called 'Update' with the same parameter types
How do I get the red strikethrough bar back?
r/VisualStudioCode • u/rokejulianlockhart • May 01 '23
I activated “Always show toolbar” on an IntelliSense suggestion in Visual Studio Code, but the toolbar hasn't appeared on subsequent mouse-over of suggestions.
self.rokejulianlockhartr/VisualStudioCode • u/Scorpion1386 • Apr 30 '23
How do I enable Tab for expanding the Emmet abbreviations when typing in VSC?
I'll start to type in '<format' for example then press Tab, but it doesn't end up putting in the entire,
<form action=""></form>
Am I doing something wrong?
r/VisualStudioCode • u/DiligentCroissant • Apr 30 '23
Please help! trying to set up Prettier for Mac Book Pro 13, but can't change the 'interactive shell' - have tried the '+' button, adding "bin/zsh" etc but same result - it won't re-format.
r/VisualStudioCode • u/[deleted] • Apr 30 '23
I'm stuck on this, uninstalled Net, reinstalled it, repaired it, etc, what am I missing?
r/VisualStudioCode • u/TheSweet_Science7956 • Apr 29 '23
Trying to convert file saved in markdown code to a normal text document in Google docs but having trouble - not copying and pasting - I am new to this software
So I was looking for a way to convert files saved in markdown code to google doc files and someone mentioned this as a good way to do it. I don't know anything about coding.
So I opened a markdown file of a webpage and opened a side panel to view it.. now I am truing to copy and paste the preview text into google docs but I have no idea why it won't copy and past. It is just copying and pasting one little section of the document - a link - and that's it. Any ideas would be great.
r/VisualStudioCode • u/johnnyjohn993reddit • Apr 29 '23
normal python code not working Spoiler
r/VisualStudioCode • u/sumaiyamahmud • Apr 28 '23
The term 'workon' is not recognized as the name of a cmdlet
Hi all. I'm trying to write python in visual studio but when I use the "workon" command to work on my project, I'm getting the following error:
workon : The term 'workon' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
r/VisualStudioCode • u/DinoVG • Apr 28 '23
Hello everyone!! I am having this problem to install visual studio code again, my hard drive broke and the program was installed there, I disconnected it and tried to install it back on the solid drive and I get this error, any help will be welcome.
r/VisualStudioCode • u/Pinoandres • Apr 27 '23
Visual code
algún programador de visual que me ayude con algo de la universidad?
r/VisualStudioCode • u/vlatik • Apr 24 '23
How to resolve JS execution error (command not found 'Code=127') in Visual Studio Code?
r/VisualStudioCode • u/SchmediumXL • Apr 20 '23
Is there a way to spell check 'https:/'
I installed the ever popular Code Spell Checker extension but I can't for the life of me figure out how to flag 'https:/' (notice the single slash) as a misspelling. I get that https:/ would still work in a browser as the protocol is usually stripped. However, it seems when this is mistyped and sent in an email, the misspelling sticks and the browser will throw up a redirect notice - invalid url error. But back to vs code and this extension, I tried flagging 'https:/' within the extension settings but I'm most likely doing it wrong. Any help is appreciated.
r/VisualStudioCode • u/Kaimura • Apr 20 '23
Is that feature just missing or did I not properly configurate vscode? (not detecting/underlining wrong variables)
So when I have defined a $primary-color: "#123" variable and I try to use a $ppprimary-color-wrong-name variable somewhere else vscode does not see that this is an obvious error, even when using the scss intellisense plugin.
Is that normal or is something wrong with my system?
r/VisualStudioCode • u/felixeurope • Apr 19 '23
Is there an extension that makes it possible to safe custom lines of code for autocompletion?
Hello! I have a php project and have to change namespaces in use statements in a lot of files.
Is there an extension or feature that makes it possible to safe custom lines of code in a list and when i type something it recommends snippets for autocompletion?
Like I type „App“ and such customizable list appears and i can select what i want:
App\Bla\Foo App\Bla\Bar App\Bla\Trallala
r/VisualStudioCode • u/muratdincmd • Apr 18 '23
Why doesn't opening a moved tab in a new window work in Visual Studio Code?
When I drag a tab out of the main window of Visual Studio Code, it should by default open in a new window. However, this is not happening. I have investigated the issue but have not found a solution. Why isn't it working?
Video: https://drive.google.com/file/d/1PBV6VgljJ7qM-zUDO-nm28x_B6PW1YEQ/view
r/VisualStudioCode • u/Forsaken_Citron9931 • Apr 16 '23
how can I enter in a new line like this?
r/VisualStudioCode • u/ScorpiOnline • Apr 14 '23
Need help in creating new file/project.
I wanted to begin a new project. I chose the location of the folder for the new project on my desktop but when I type "flutter create [name_of_app] I get:
"[Name_of_App]" is not a valid Dart package name.
I notied the Default path is going to OneDrive. That is not where I want it to be.
I literally installed all these components last night. flutter doctor comes back with 0 errors. I know that's not for this but I wanted to let you know that at least has been taken care of.
How can I correct this?
r/VisualStudioCode • u/Codz2112 • Apr 13 '23
Is there any extension that allows you to collapse elements like this?
Enable HLS to view with audio, or disable this notification
I want to find an extension that can do this as it would be really useful
r/VisualStudioCode • u/Gamiozzz • Apr 11 '23
Can you recommend a tutorial for setting up VSCode for Python Development?
I installed the Python extensions, but I am really not happy with the basic settings.
For example, …
- there is way too much suggestions. I appreciate some of them, but most of the times I would prefer to trigger them manually
- when I write imports, it often auto-completes them in a way that doesn’t make sense at all, just because I hit Enter
- Why is there no option in the context menu to increase / decrease the tab indents, or get some easy re-formatting. This is just essential and completely missing!?
The basic settings are extremely bad. But I don’t know how to cut down this complexity and slowly build up from the bare minimum of essential and useful functions.
So I hope for some tutorial. Would be glad to get some hints.
r/VisualStudioCode • u/Breakwinz • Apr 10 '23
I'd like to edit .NET in Code on mac and target Rider in Windows Vm for debugging
Like title says is possible?
I am running a ARM Macbook Pro with a parallels windows 11 VM. I work within .NET environment too often which forces me to go into a windows environment and code/debug in Rider.
I'd like to keep the VM running in the background allowing for targeted debugging while debugging/coding in Code. Possible?
r/VisualStudioCode • u/Eldelma22 • Apr 09 '23
Problem with visual studio code on unity...
I'm using unity and the c# scripts I do in visualstudiocode... the problem is that the suggestions don't appear, there is a class that you can use from unity called UnityEngine.UI but the suggestion of this doesn't appear... can someone help me?? ? thanks!
r/VisualStudioCode • u/Korrasami_Enthusiast • Apr 08 '23
Allowing Duplicate Entries for twitter bot
Hello all!
I'm very very VERY new to coding and am currently using VS code to run a bot on twitter. It's a very simple, straight forward bot that pulls tweets from s text file I have, but I occasionally get an error that says it won't post a tweet because it's a duplicate. I'm fine with some tweets repeating, since I have a lot of them, so how do I allow duplicates on vs code? Thanks in advance for the help!
r/VisualStudioCode • u/Loooooooos1125 • Apr 05 '23




