How do I make Visual Studio show up in Unity Preferences? - visual-studio

I'm quite new to Programming in general. I've learned basics, but that's about all. I was watching a tutorial, but I realized I was using Visual Studio Code instead of Visual Studio. While I was trying to change my External Script Editor, I could not find Visual Studio. I also cannot find it on my PC.
External Script Editor:

No question is a dumb question so don't apologize for asking even if it is a basic thing.
Now to answer your question, please open the Visual Studio Installer and select modify.
After doing this in the gaming section and then select Game Development with Unity and modify your installation. Then restart Unity and try selecting Visual Studio from Unity.

Related

How do i work in Visual Basic in VS Code or Mac?

sorry if the question is basic or does not have an answer but i have began my coding journey and due to classes i need to program basic code in "Visual Basic".
I have a Windows PC where i can code fine in Visual Studio 2022, but i have a MacBook Air as my laptop, i would like to code visual basic on it as well just small codes for my exams and class, i downloaded Visual Studio for Mac and it only allowed me to code in "C#" then i tried VS Code and selected VB on it, Python (With its extension) worked fine on VS Code, i can enter and run my code in the terminal but vb would always be a house of errors.
My question is, what is the appropriate way to program in visual basic on a mac (Latest macOS) (M1 Chip) and how can i get visual basic to work in VS Code?
Really appreciate anyone's time spent on answering this, have a good one!
Spent alot of hours downloading extensions that would help me run VB Code on VS Code, tried to get Visual Basic on Visual Studio for mac and that didnt help either.
The only thing that works right now is visual basic on visual studio 2022 on my windows pc. i want to code in vb on my mac. Python on vs code etc works fine not vb.
Visual Basic is not officially supported on Visual Studio Code or Visual Studio for Mac. However, there are some third-party extensions that you can use to add support for Visual Basic on VS Code.
One such extension is "VBNET for Visual Studio Code" which can be found in the VS Code extension marketplace. This extension is a community-supported extension and may not be as stable as the official extensions.
Alternatively, you can use a Windows virtual machine on your Mac to run Visual Studio 2022 and use it to write and run Visual Basic code. This would allow you to use Visual Studio 2022 on your Mac, and you can work with Visual Basic code on your Mac.
It's worth noting that Visual Basic is not a popular language as it was in the past, many developers are not familiar with it and support for it is limited. If you have the opportunity, it might be worth your time to learn a more widely used and supported language like C# or Python.
where VS Code is a powerful, multi-language code editor that offers many features and customization options, making it a great choice for developers. It can be used for Visual Basic development and it's a good alternative for Visual Studio for Mac which does not support Visual Basic.

Problem with code writing for unity and maybe inheritance in visual studio

I am new to unity so I am a bit confused. I will be extremely glad if someone helps me with the problem I have. When I start to write my code in visual studio there are not any key worlds that appear when u start to write your code and also in the solution explorer there is a message: Assembly-CSharp.csproj:The application is not installed. I tried to switch to lower version of the Visual Studio Code Editor package to 1.1.3 and also I installed the nesesary Game development for Unity from the visual studio installer. I also have this problem and can not find what I miss. Please tell me if you have any idea, thank u in advance.
I'm new to Unity too. It will be simpler to use Visual Studio instead of Visual Studio Code. My suggestion is to install visual studio from Unity Hub. It will be very simple. I have added links that can help you. I hope I could help.
Installing the Unity Hub
Visual Studio & Unity: Installation and Setup

How to make Visual Studio feel like Intellij

I am used to working with intelij and even after working with visual studio I still have problems using it effectively. It is generally annoying for developer to learn new shortcuts wen switching IDE. So. Is there an easy way to make Visual Studio feel like Intelij or any other IDE? and if there is no way. Could that be done in theory?
(I am not referring to how Visual studio looks like. Just the Shortcuts and general control of the IDE)
Hot Keys extension lets you load IntelliJ IDEA keyboard shortcuts to Visual Studio.

Put only one bracket in Xamarin Studio

I have a problem. At the time of writing the code in Xamarin Studio when I put the bracket it's only put open, but I would like to put both an open and a closed set. How would I do it?
I would suggest, you use the best and powerful ide from Microsoft,
Visual Studio https://www.visualstudio.com/downloads/
Just click the Mobile .Net Development upon installation and you'll have Visual Studio with Xamarin. :)

How to drop a Brief bookmark in Visual Studio?

i've created binding for Visual Studio's Edit.BriefBookmarkDropx commands:
Edit.BriefBookmarkDrop1: Ctrl+Shift+1
Edit.BriefBookmarkDrop2: Ctrl+Shift+2
Edit.BriefBookmarkDrop3: Ctrl+Shift+3
...
Edit.BriefBookmarkDrop9: Ctrl+Shift+9
Using Tools -> Options -> Keyboard:
Except that when i hit Ctrl+Shift+2, nothing happens:
i know Microsoft likes to obfuscate Visual Studio features. What's the secret trick that i'm missing?
Note: i am installed DPack into Visual Studio Professional - an addon that provides brief bookmarks (and a number of other essential features). Do not confuse this for an answer to my question:
you cannot install addons into Visual Studio Express
you cannot install addons into the Visual Studio Shell
my question isn't about addons
Bonus Reading
MSDN: How to: Use Bookmarks with Brief Emulation (Visual Studio 2008)
Numbered Bookmarks addon for Visual Studio 2005
DPak Numbered Bookmarks
It took four years, but i figured it out. Everything i was doing was correct. The only issue is that Visual Studio is stupid. Here's how to configure Visual Studio to drop a Brief bookmark:
How's that different from what i showed in the question?
Fails Use new shortcut in: Global
Works Use new shortcut in: Text Editor
By default any keys you bind in the Global space do nothing.
Which begs the question why the option is there, and the default? But usability is not something Visual Studio team prides itself on.

Resources