r/programming • u/ben_a_adams • Apr 19 '21
Visual Studio 2022
https://devblogs.microsoft.com/visualstudio/visual-studio-2022/481
u/rbobby Apr 19 '21
Visual Studio 2022 will be a 64-bit application
Wow. Way back they were dead set against making it 64bit. I wonder what changed?
366
u/StillNoNumb Apr 19 '21
I wonder what changed?
Technology, most likely. Their last word on it was six years ago, since then developers upgraded their memory and got faster processors
232
u/Narishma Apr 19 '21
That or the people who were against it don't work there anymore.
→ More replies (42)10
u/KevinCarbonara Apr 19 '21
Nah, they just got rid of Kaplan. The limitation was never technology, it was people.
14
0
Apr 19 '21
[deleted]
20
Apr 20 '21
I think this is why. I used to port c and c++ between x86 and x64 all the time in the mid 2000s. Depending on choices made it can be easy, a pain in the ass but doable to virtually impossible. I've seen all of these and worked for a company where their cash cow product was near impossible to port to x64 because of a poorly designed api that casts handles to ints. Changing that would break every user of that api. I read a developer blog that said the reason pinball was moved from windows was because several different attempts to port it's indecipherable code to x64 resulted in bugs that rendered the game unplayable.
7
u/a_false_vacuum Apr 20 '21
The major issues was the collission between objects (i.e. with the ball) stopped working. The ball would pass through everything as if it wasn't there. Raymond Chen wrote a small post about it one time. They dropped it because of time pressure because Windows Vista had to be shipped and Pinball wasn't worth the extra time to debug.
36
Apr 19 '21
I can hardly do my job in VS these days. I am forced into rider for most things, and really I don't look back either
→ More replies (13)→ More replies (2)4
u/Toddwseattle Apr 20 '21
Rico is at Facebook now so both time and team are different. Rico is an amazing guy btw.
1
u/not_a_moogle Apr 19 '21
I assume it's cause .net core doesn't have any 32bit dependencies. Yeah, there's still some legacy issues, but that's probably why I have to keep my vs 2015 install.
1
1
1
u/ign1fy Apr 20 '21
Why now? Why not 20 years ago?
2
u/rbobby Apr 22 '21
My memory of the article is hazy but I think it was partially because parts of VS where still C++ and partially because just going 64bit wouldn't solve any of the root causes of memory issues, just exacerbate them. It was more practical focusing on reducing the C++ footprint and solving memory issues with better code/data structures/bug fixes.
I've used VS for ages and it really hasn't made a difference to me that it was 32 bit. When its working set approaches 2GB it has always meant I've had a wonky extension installed (SandCastle I'm looking at you). Or have just had it running too long (days and days without restarting it).
1
u/recycled_ideas Apr 20 '21
Wow. Way back they were dead set against making it 64bit. I wonder what changed?
They were never dead set against it, they just had other priorities.
Presumably something pretty significant didn't work in 64 bit and they've either finally migrated it or replaced it.
Because if it was just a matter of changing the target it'd have been doneba decade ago.
→ More replies (36)1
108
u/Irregular_Person Apr 19 '21
Does the 64-bit switch have direct implications with regards to indexing, code completion, plugins, and the like for non-gargantuan projects? My understanding has been that the 32-bit limitation was supposed to pose a relatively minor penalty because VS breaks 'stuff' up across multiple processes which would each have their own potential 4GB chunk, but I don't know how true that is.
My desktop has RAM and cores to spare, so if this lets me put VS into "hurt me plenty", I'm all for it. Might be able to justify an upgrade for my machine at work too.
87
u/Tringi Apr 19 '21
Negative implications? Mostly plugins. All existing plugins are 32-bit now. You'll need to get 64-bit version of any third party plugins you use.
And 64-bit pointer-heavy code, which VS definitely is, is usually slightly slower (my measurements show about 6%).
73
u/TheThiefMaster Apr 19 '21
The slowest parts of VS were already 64 bit out-of-process components (like the debugger) - so I don't really expect this to change much.
7
u/sephirostoy Apr 20 '21
Is IntelliSense also out of process?
→ More replies (1)21
u/rdtsc Apr 20 '21
Yep, it's hosted in
vcpkgsrv.exe. And it's a good thing, because crashes in Intellisense don't bring down the whole IDE.6
u/ygra Apr 20 '21
Tell that to ReSharper, although by now I think they've finally committed to going out-of-process, which they should have done ages ago ...
→ More replies (7)15
u/haby001 Apr 19 '21
Well not exactly, some extensions and plug-ins are 32-bit but most modern extensions usually target anycpu so they should be compatible. Now the question is if it'll require more work to migrate other non-code components like commands and external tools included in extensions...
26
u/Sunius Apr 19 '21
most modern extensions usually target anycpu so they should be compatible.
Only if they're written in pure C#. Can't target AnyCPU in C++.
→ More replies (3)
290
u/Sunius Apr 19 '21
If you want to upgrade to Visual Studio 2022 but are worried about compatibility, binary compatibility with the C++ runtime will make it painless.
Phew! I'm glad they're not introducing a new VC++ runtime!
161
u/Tringi Apr 19 '21 edited Apr 19 '21
That also means dozens of fixes are yet again delayed for a few more years.
81
u/TasteOfSnozberries Apr 19 '21
Is the 2015, 2017, 2019 cross compatibility actually preventing bug fixes going in?
93
u/Tringi Apr 19 '21
Yes.
There are couple of things not conforming to C++ standard that will need ABI break to get fixed. AFAIK there are numerous performance improvements waiting in queue for eventual breakage. My pet peeve is ridiculously unusable std::deque in MSVC right now.
Basically if your fix to std::string requires rearranging/adding or removal of some fields, or changing their meaning, that's ABI breaking change, and requires recompiling all binaries that share it and the runtime.
42
u/MarekKnapek Apr 19 '21
Hi /u/STL, can you share with us any news regarding ABI break in the C++ compiler and/or in the STL?
31
u/foonathan Apr 19 '21
They're discussing the situation here: https://github.com/microsoft/STL/issues/1814
25
u/STL Apr 20 '21
As I recently mentioned: "vNext is currently on hold (the compiler front-end team is incredibly busy and this needs to be coordinated between the FE and STL), but rest assured that I'm still pushing for it to happen eventually."
→ More replies (1)23
u/Sunius Apr 19 '21
Which fixes? I just know that we were stuck on VS2010 until like 2017 because it took forever to get every single static library we used recompiled with a new toolchain.
47
u/frymode Apr 19 '21
This one, for example - https://developercommunity.visualstudio.com/t/bogus-stdthis-threadsleep-for-implementation/58530
std::this_thread::sleep_for( std::chrono::milliseconds( 100 ) ); could result in arbitrary long execution time in case of a system time change (seconds, hours, years...).
looks quite dangerous and still not fixed beacuse of the abi break needed for the proper fix.
→ More replies (1)8
u/lemingnorweski Apr 19 '21 edited Apr 20 '21
I once wrote dongle-protected software and nearly fell into this trap, can't wait to see it fixed.
12
u/Tringi Apr 19 '21
I'm following a couple of MS/MSVC/C++ people on Twitter and over the years they have mentioned a lot of different stuff. Strings, smart pointers, some atomics ...I hope for std::deque.
→ More replies (1)4
u/Claytorpedo Apr 19 '21
I ran into this one a while back: https://developercommunity.visualstudio.com/t/vs2017-c-empty-base-optimization-does-not-work-wit/69605
2
Apr 20 '21
[removed] — view removed comment
2
u/Sunius Apr 20 '21
It took us 7 years to upgrade from VS2010. It was hell to get all our partners recompile their code with a newer toolchain. If they make breaking changes, it’s likely we will not be able to use the new compiler at all.
393
u/unique_ptr Apr 19 '21
Visual Studio 2022 will be a 64-bit application
It's about damn time! I wanted to link the old "Revisiting 64-bitness in Visual Studio and Elsewhere" article explaining why it wasn't 64-bit ca. 2015 so that I could dance on its stupid grave, but I can't find it anywhere.
Including Cascadia Code by default is excellent. I've been using it since it came out (with Windows Terminal I want to say?) and it's fantastic. I wasn't a ligatures guy before but I'm a believer now.
Not a huge fan of the new icons (in particular, the new 'Class' icon looks like it's really stretching the limits of detail available in 16x16 px, the old one looks much clearer to me), but they're not bad either. I'll be used to the new ones before I know it, I'm sure.
45
u/KryptosFR Apr 19 '21
Circa 2015? They made that same argument since at least 2009.
16
u/Eirenarch Apr 19 '21
To be fair I never encountered a solution with a thousand projects so I believed them.
8
17
u/Tringi Apr 19 '21
With you on the icons. The old ones are simpler and more, in their words, streamlined with lower cognitive load.
4
u/D3PyroGS Apr 20 '21
These look like those same icons they rolled out in the most recent version of Office 365, which seem juvenile somehow. Like they're made for kids' software.
2
u/Ithline Apr 20 '21
I don't mind most of the new icons in the light theme, but the dark ones are really hard to decipher.
14
64
u/BarMeister Apr 19 '21
This, except I love the new icons.
42
u/TrueTom Apr 19 '21
They are a step in the right direction. I mean some of them even gained colors!
→ More replies (1)39
u/ReginaldDouchely Apr 19 '21
Oh my god. Maybe some day they'll get back to as-easy-on-the-eyes as VS2010 was!
20
u/ClassicPart Apr 19 '21
VS2010
The peak VS design, at least for me. If I could make Jetbrains' IDEs look like that, I'd be unreasonably happy.
→ More replies (1)→ More replies (1)31
u/LloydAtkinson Apr 19 '21
Probably yeah, Microsoft is still recovering from the time Balmer forced the UI/UX teams to only be allowed to design things with squares and a choice of four different colours.
0
Apr 19 '21
[deleted]
17
→ More replies (1)5
u/Rayffer Apr 19 '21
I use visual studio with barely any extensions and dont come accross this problem, at all.
Maybe an extension is the culprit?
10
u/Zagerer Apr 19 '21
I didn't know what Cascadia Code was until now, and my Terminal suddenly changed from Monaco/Menlo to Cascadia, too. Might use it for Emacs tho, in the terminal it seemed more fluent to use Monaco but both are pretty good, just Emacs is weird with Menlo.
9
u/Pazer2 Apr 19 '21
Including Cascadia Code by default is excellent.
Just another thing that I need to change by default from now on. Cascadia code is terribly blurry compared to Consolas, and microsoft's response has basically been "just buy a high dpi monitor". Why didn't they just add ligatures to Consolas? Nobody was asking for a new font.
→ More replies (1)2
u/_Ashleigh Apr 20 '21
Yeah, Consolas is really the best for me. It's the only one I can set without noticing anything about it.
→ More replies (44)5
u/KozandEffects Apr 20 '21
I hated that argument as well with its commentary about address pointer sizes and slower fetch times. When I can't load a solution and get intellisense to work because it ate up all the RAM, then it doesn't matter if a pointer size is slowing things down...there are bigger problems.
I'm pretty sure it was their version of a smoke screen to cover up the fact that the issue was a combination of not swapping out the old guard and knowing that the conversion to 64-bit was going to be large.
147
u/Tringi Apr 19 '21
We’re also working on making every part of your workflow faster and more efficient, from loading solutions to F5 debugging.
Well I'd be delighted if the GUI didn't spend 5 seconds rearranging on F5. Make it faster or make it have less moving parts.
As always, you can head on over to the new Developer Community to browse through existing feature requests to upvote and comment...
Can I get some love for couple of mine, please:
22
u/chucker23n Apr 19 '21
Add stacking/collapsing of Tabs to fit more open files
Are vertical tabs an option for you? https://visualstudioextensions.vlasovstudio.com/2019/10/16/vertical-tabs-in-visual-studio-2019-16-4-preview-2/
→ More replies (2)9
u/Tringi Apr 19 '21
Not really. Vertical tabs always felt weird to me. But maybe I never tried them long enough to get used to them.
10
u/illbefinewithoutem Apr 19 '21
I just started using it, and it's so amazing once you get used to it. Whole 'nother thing from horizontal, now I can't believe I haven't always used this.
3
u/mustang__1 Apr 20 '21
Took me a while to get used to but now I don't know how else I would have too many tabs open
19
u/Vlyn Apr 19 '21
I'd be satisfied if the Ctrl + t search function wouldn't jump around. Like you open it, enter your search term, the first result is the one you want.. and after it finishes loading it jumps a few pixels upwards and you often hit the second result.
Annoying af.
10
u/KevinCarbonara Apr 19 '21
I wish they would fix incremental search so that it didn't dance all over my screen and open all my collapsed sections just because it's too impatient to let me finish typing out a single word
3
2
u/Tringi Apr 19 '21
That reminds me to fill out another request: "Add option to ignore white-space when searching"
33
u/AttackOfTheThumbs Apr 19 '21
Well I'd be delighted if the GUI didn't spend 5 seconds rearranging on F5. Make it faster or make it have less moving parts.
jfc, yes. It's because it's hiding and unhiding icons instead of just disabling them. So fucking dumb.
18
u/BigBauf Apr 19 '21
Visual Studio has 4 different layouts. You can minimize the changes by making the layouts look equal to each other
→ More replies (1)2
u/jamend Apr 19 '21
But can I have a terminal window open and keep it open when I debug?
→ More replies (1)5
u/friggle Apr 19 '21
The makers of Tabs Studio might have to get a real job and stop charging $50+ just to wrap tabs to a new row.
1
u/cat_in_the_wall Apr 19 '21
i hate that the ui changes. you can sort of hack it so things mostly stay in the right place, but what i really want is for nothing to change at all.
166
u/scorcher24 Apr 19 '21
I really hope they've improved on the editor. The main reason I haven't been using VS in a while is the awful editor once you have experienced VS Code or clion.
94
u/Trexus183 Apr 19 '21
Yeah, VS code has so many quality of life editor features, sucks having to give them up when moving over to visual studio.
13
u/rush2sk8 Apr 19 '21 edited Apr 20 '21
Sucks they dont let you drag out tabs into a new window.
Edit in VSCode
→ More replies (1)7
u/LB-- Apr 20 '21
Huh? Dragging tabs out into new windows works flawlessly for me in Visual Studio, am I confused about what you're referring to?
→ More replies (1)8
0
Apr 19 '21
[deleted]
114
u/AttackOfTheThumbs Apr 19 '21
VS Code still refuses to implement the traditional Insert key functionality
I didn't realize people actually use that. And here I am thinking, let's remove that key from the keyboard lmao
As someone with an ultra wide, I really which they allowed a left and right view for it, i.e. vertical triple pane. Because yeah, switching between debug and files/vc is weird. Having extensions where they are is dumb. And I wish it supported a full screen multi mon mode.
102
u/sysop073 Apr 19 '21
I think OP is one of four people on the planet who actually uses that, which is probably why VS Code hasn't made it a priority (or "refuses to implement" it if you want to ascribe malice to them ignoring your pet feature)
→ More replies (25)→ More replies (4)11
u/_BreakingGood_ Apr 20 '21
Yeah, the insert key only serves 1 function to me: piss me the fuck off when I accidentally press it
43
u/chucker23n Apr 19 '21
Quality of life wise, VSCode in refusal to let you just have debug options and file explorer views at the same time is pretty god damn awful too.
This weird information hierarchy trips up my mental model, too. Why is Extensions, for instance, a tab (as opposed to a separate window or modal dialog)? It has absolutely nothing to do with the current workspace. Every time I go there, I'm confused how to get back to my current project.
→ More replies (2)34
u/_______________l Apr 19 '21
A possible reason for the current design could be Electron’s poor support for multiple windows. AFAIK, every new window is a new (heavyweight) browser process. There are virtually no electron apps with floating windows.
→ More replies (1)15
u/StillNoNumb Apr 19 '21
https://marketplace.visualstudio.com/items?itemName=adammaras.overtype
The extension isn't perfect, but it does its job. If you really want the feature natively, you can try submitting a PR
→ More replies (1)17
u/Chemoralora Apr 19 '21
This plus lack multiple monitor support makes it unviable for me
→ More replies (2)→ More replies (3)15
u/nascentt Apr 19 '21
Overtype? Seriously in the 21st century?
I even made a program to disable it because it only ever gets hit accidentally4
4
Apr 19 '21
CLion is SO SLOW it used 4gb memory on an empty project
24
u/scorcher24 Apr 19 '21
I didn't spend all that money on my RAM for it not being used. Also, how does slow equate to memory usage? RAM is quite fast. The only speed complaint I have with Clion is the slow reload of my CMake project, but that could be my fault. I wrote it :P.
→ More replies (7)2
u/its_a_gibibyte Apr 19 '21 edited Apr 19 '21
This update looks inspired by vscode. The searching, WSL support, etc. If Visual Studio is falling behind VSCode, do you think they would discontinue VS and port the extra features into VSCode. What does VS do that VSCode currently can't do, and that no extension can do?
46
u/gpu1512 Apr 19 '21
What does VS do that VSCode currently can't do?
It's a very long list. VS code isn't even an IDE
→ More replies (7)14
u/drysart Apr 19 '21
What does VS do that VSCode currently can't do, and that no extension can do?
Support multiple windows.
1
u/rodneon Apr 20 '21
One thing that made VS a lot more tolerable for me was importing a lot of the key bindings from VS Code, which is built into VS2019. Same thing for SQL Server Management Studio.
2
u/scorcher24 Apr 20 '21
The key bindings don't really help for me. I just miss things like being able to mark something, press
"and have it enclosed instead of replaced. Or the CLang hints from CLion. I guess I'll stick to CLion for the time being, as I am paying for the Toolbox right now anyway.1
u/sixothree Apr 20 '21
Please Microsoft. Please please fix these panes! Please learn from other products like VSCode and Rider.
1
u/Y_Less Apr 20 '21
The reason I've refused to switch over to VSCode for anything is the terrible editor. I can't use it until they fix virtual whitespace.
22
u/redboundary Apr 19 '21
I hope they fix the performance profiler TreeView. After a certain depth it becomes unreadable
5
u/karpinsn Apr 21 '21
Hey, my team owns the Performance Profiler and I would love to get more feedback on what we can do better here. I agree that deep call stacks become basically unusable and right now we are thinking to implement this user suggestion in one of the early previews. Would that do the trick, or do you have other ideas of how to make it better?
If you have other greviences I would love to hear about them too :) We also have the ability to change the collection directory on deck.
→ More replies (2)
19
u/Liam2349 Apr 20 '21
Visual Studio can have a lot of random issues, but if you are suffering from poor intellisense performance (10 seconds to appear), it could be your high refresh monitor.
I had that one for a while and it has been terrible, but now I know to move it to, or open it on a 60Hz monitor before bringing it back to my high refresh, and then the intellisense actually works.
Just in case anyone is here about performance complaints. I feel like VS really should warn high refresh users of this, because it was very frustrating and not at all an obvious cause.
26
u/GetBoopedSon Apr 20 '21
How does that even happen
3
u/BIG_BUTT_SLUT_69420 Apr 20 '21
Lots of Old Things are dependent on stuff like frames and refresh rate (Skyrim being probably the most modern and famous example of an application that breaks due to high framerates). I’m not an expert on this at all but my guess is that it could be a similar situation?
→ More replies (3)
22
77
u/iniside Apr 19 '21
Just a remained of why no 64 bit visual studio:
15
u/TrueTom Apr 19 '21 edited Apr 19 '21
That was my first thought... :) Thanks for posting the link. I thought I was weird because I still remembered that blog post.
26
u/CyanBlob Apr 19 '21
It's nice that it can build for Linux targets, but I wonder if they're ever going to release a Linux version of VS
36
u/BadgerBadger8264 Apr 19 '21
Visual Studio is such an ancient and gigantic codebase that is so tightly coupled to the Windows OS and toolchains that this seems incredibly unlikely, no matter how bad Microsoft might want to do this.
4
u/TimeWarden17 Apr 19 '21
What does it take for a project like this to be re-written? I mean, clearly VS Code has been really successful, but VS has its niche. If they're going to keep making it, why not actually fix it?
4
6
u/HCrikki Apr 19 '21
Not a chance for business advantage. They want to keep you using windows, that was the whole point of WSL.
Best you get is VScode but its basically a lite edition of full studio functionalty.
7
Apr 19 '21
Sure, around the same time Apple releases iOS for Android hardware.
22
u/CyanBlob Apr 19 '21
I mean, Microsoft *has* been releasing things for Windows (VS Code, .NET Core, SQL Server) so I don't think it's totally out of the question at least
20
u/whf91 Apr 19 '21
I can think of a few more than just these three products that Microsoft has released for Windows :-D
9
u/incraved Apr 19 '21
I have to say that, nowadays, I use Rider and I only use VS when I have to e.g. for Azure integration, but even for that one, I think Rider has support now but I haven't tried it yet. I hope I can do everything from Rider. It's a far better IDE than VS.
21
31
u/TheDevilsAdvokaat Apr 19 '21 edited Apr 19 '21
I found visual studio 2019 a bit buggy.
I once had a line with errors, commented it out..and now I had a comment with errors. You could still mouse over the error and the popup would appear telling you what they were.
Only way to fix? De-comment and fix the errors, or exit the project and reload.
Sometimes I would have code that looked perfect yet would fail to compile with errors. Insert a few blank lines in the code by pressing return...code now compiles. Now delete the blank lines. Code is now identical to before...but now it compiles.
Vs2017 was better for me. Faster and no weird errors.
I hope 2022 will be better.
21
u/issaaccbb Apr 19 '21
I have honestly never had an issue with 2019. What language or framework do you use?
25
→ More replies (1)6
u/f10101 Apr 19 '21
You get this kind of behaviour with .Net in VS2019 especially, seemingly, if you're low on RAM. Quite a few times I've had to close and reopen a solution to get rid of stuck indicators for errors that I've fixed.
4
u/Chemoralora Apr 19 '21
I can attest to this, I more or less just learned to ignore the error checking because it would sometimes randomly highlight things with no reason
2
u/TheDevilsAdvokaat Apr 20 '21
My experience too. The other thing is I made several error reports and ms said they were unable to replicate the problem so they were closing it.
But if you exited the program then restarted it, the problem disappeared anyway...so of course when ms took your code and tried to see the error, the error was gone...
2
u/Stable_Orange_Genius Apr 19 '21
I had the same problem until I deleted all Vs related folders in appdata
→ More replies (1)2
u/meneldal2 Apr 20 '21
In this case, most of the time right click -> rescan (file first then solution if it's not enough) should fix these errors.
→ More replies (1)2
u/kuikuilla Apr 20 '21
I once had a line with errors, commented it out..and now I had a comment with errors. You could still mouse over the error and the popup would appear telling you what they were.
Only way to fix? De-comment and fix the errors, or exit the project and reload.
Are you talking about intellisense or actual build errors? Intellisense is crap, yeah.
→ More replies (1)2
3
4
4
4
u/Nacimota Apr 20 '21
I was really worried they were going to drop the year from the title and just become "Visual Studio" from now on, because rapid release or whatever. That would have made the "I wanted Visual Studio, not Visual Studio Code, Google" problem a lot worse, so I'm glad they didn't.
31
u/kiky_tokamuro Apr 19 '21
Instead of making her eat less memory, they made her eat even more memory...
2
1
u/orbit99za Jun 30 '21
Any update on this ? I am really looking forward to working with it.
1
u/ben_a_adams Jun 30 '21
You can download the preview now https://visualstudio.microsoft.com/vs/preview/vs2022/
10
u/GetBoopedSon Apr 19 '21
At the risk of sounding really uneducated why do people not use something like visual studio code for c based languages? I ask because I hear almost exclusively negative things about mainline visual studio
22
u/elder_george Apr 20 '21
In my experience:
- VSCode with C++ has worse code navigation (especially when dealing with macros etc.);
- VSCode with C++ has worse refactoring tools (and refactoring for C++ in the "real" VS is limited already);
- VSCode can't deal with the big enough codebases (for the projects I work on daily it simply throws hands up);
- UX in some popular use cases is worse IMHO (like, editing .json files instead of choosing in UI; but that's my personal preference, YMMV);
I use it for toy projects, but it's not good enough for my work.
7
u/stronghup Apr 20 '21
I second that a motion.
I used to wonder why would I use VSCode when I could use VisualStudio Community Edition for free as well. And I still do. VSCode is supposed to be "light-weight" code-editor. But since it's built on top of Electron they say it's not so very light-weight after all is it?
4
u/GetBoopedSon Apr 20 '21
In my experience vscode has been exceptional, but that’s primarily doing php (and nothing compiled)
3
u/elder_george Apr 20 '21
It's pretty well done for an Electron-based project (for example, better than Atom) and its startup time is better that of the "real" VS.
So, if I need to edit a file or two, VSCode will do the trick faster. If I need to work on a huge codebase (and probably won't close the editor for couple weeks anyway), VS gives more power.
(and if I need to edit files on a remote Linux machine VSCode is the only one of these two that fits the bill, but I usually only need to do small changes anyway)
→ More replies (1)2
u/GetBoopedSon Apr 20 '21
Makes sense. Those things fall outside of my scope of work, different tools for different jobs
12
u/salbris Apr 19 '21
My only recent experience with both is doing Unity with C#. Visual studio was more stable. VS Code would give me errors that Visual Studio wouldn't. I think I tried to fix it early on but it required a bunch of extra installations that still didn't work when installed. There was no official docs on the issue just random forum posts.
11
u/mehwoot Apr 20 '21
VSCode is a Code Editor, Visual Studio C++ is an IDE. Your build system, debugging, C++ specific plugins like resharper, profiling all work out of the box. Probably can get these things working in VSCode but it's not going to be as easy or integrated as an IDE.
For some programming those things don't matter as much so people will just use an editor, but since C++ is compiled having a build system is important and it's nice to use an IDE that integrates that.
2
u/GetBoopedSon Apr 20 '21
Understandable. My work is entirely based around non compiled languages so I don’t have those issues. Thanks for the reply
3
u/darkapplepolisher Apr 20 '21
I have too many dependencies on VC++ code and Windows SDK nonsense. While it may or may not be possible to circumvent some of that, I've wasted far too many hours at work trying to figure out how to get around using Visual Studio rather than just sucking it up and dealing with it.
→ More replies (1)2
u/IceSentry Apr 20 '21
My employer uses resharper to enforce a lot of code style rules so I can either program with vscode and do a final check with visual studio at the end or I can just use visual studio all the time. Either way I have to have visual studio running, so I just use it directly most of the time. Although, I sometimes copy some snippet to vscode just because the multicursor editing is so much better with vscode.
It's also for c# which isn't that great in vscode
→ More replies (1)
3
u/LuciferSam86 Apr 19 '21
I wonder if we'll find Java, as supported language, too in the next version of Visual Studio after the news of a Microsoft JDK.
3
17
Apr 19 '21
Installation time is slightly increase, from 2 hours to 4 hours.
Must be the transition from 32-bit to 64-bit.
37
8
u/salbris Apr 19 '21
This must include download time, right!? I don't recall ever having to spend 2 hours "installing" visual studio...
51
u/Trexus183 Apr 19 '21
So the "slight increase" is doubling install time? Lmao, idk if I'd describe that as "slight".
18
4
16
u/LeCrushinator Apr 19 '21
I've been on C# with Rider for years now (albeit on MacOS), install time is, a few minutes.
2-4 hours install time for, anything, is insane. I could reformat my entire machine and reinstall the OS faster than that.
17
u/devperez Apr 19 '21
Installation never took 2 hours. Or even 1. Install has always been fast once the download is done. And what he said isn't even in the article. I have no idea where he got that.
3
4
u/Goolic Apr 19 '21
No work on performance ? They still are far far away from the performance of the VC 6 days !
1
1
u/shooshx Apr 19 '21
So, still haven't redesigned the complete mess that is the editor syntax coloring dialog?
1
u/Dantaro Apr 19 '21
Still no ARM64 build, which is a shame. I'd love to run VS on my SPX without emulation (and other IDEs too, looking at you JetBrains), but for now I guess I'm stuck will VSC
1
u/WheresTheSauce Apr 19 '21
I went to a VS2019 release event at my local .NET meetup group a couple of years ago. Feels like yesterday. Hard to believe we're already coming up on VS2022!
1
1
1
1
1
u/MisterBicorniclopse Apr 20 '21
Apple went 64 bit. It’s just a matter of time before everything does
1
u/disguisedandroid Jun 18 '21
I tested it and did not notice any difference, it's was slower than 2019 sometimes to be honest when I opened the same project
1
u/programmer726 Jul 07 '21
It looks like some P.O.S. MS know it all stole Web Forms Designer. There is no switch to switch between Code and Design View. The options in settings to set default view is gone.
1
u/Internal-Village-472 Aug 12 '21
ugh.. I opened a project in vs2022 that I have been working on for years. I deleted a form that is no longer needed and when I compiled the application somehow my project file got corrupted.
No reason to report it.. I'm sure their response will be to close the thread and reply with this is a duplicate from an issue in 2017.
1
u/DatabaseSpace Feb 02 '23
I'm using Visual Studio 2022. When I use it for reporting services the new feature is that when I try to use Solution Explorer search to look for a report name, a shared data set or really anything else, it comes up as no results found. I liternally can see the name of the file right under the search box and it returns no results. I unchecked and checked "search within file contents and "search within external items" and none of it makes a difference. It did actually work once and then it stopped working. I don't know why. Meanwhile in other IDE's like PyCharm everything works as it should. Seach works. When there are errors, they mean something and aren't buried in 500 lines of nonsense.
Here's a Microsoft Intergration Services Error: There was an error. The errror count for this project has reached the maximum. The error is probably in another place but it may be here soon, it you keep reading. The actual cause of this error is ...ERROR BOX CUTS OFF HERE.
I always notice that when I start using other Non-Microsoft products my productivity goes way up. When I stopped using SSMS and started using DataGriip it was the best change I ever made. Nobody should be using SSMS to write queries. Maybe only for DB admin stuff like backup database or drop database.
Ofcourse I found a case online about this search issue and the answers are arrogant and wrong and closed by Microsoft so you can't comment on it. I can't wait until I never use this again.
-2
u/andreasOM Apr 19 '21
Can I disable the broken git integration?
If not -> clear pass!
19
u/AuxillaryBedroom Apr 19 '21
Ok, I'll bite. How is it broken?
11
u/andreasOM Apr 19 '21
Opening our current project with git-disabled (via some registry hacks) takes about 7 minutes.
Opening it with git-enabled takes over 2h, and the fans go full tilt for the whole duration.
About 2 out of 5 times it crashes before getting into the project.All this is well known, and documented;
And has been ignored by the development team for years.→ More replies (3)7
6
Apr 19 '21
I wouldn't say it's broken, but the UX is differently not quite there
Then again git has the UX of :shrug: and I feel everyone has different resulting takes on a "real UX"
2
u/TheThiefMaster Apr 19 '21
The git integration can already be disabled (there's an option for which source control plugin to use and there's a "none" option). I doubt this will change.
3
u/andreasOM Apr 19 '21
Yes, you can disable it on a per project basis, but only if you manage to open the project with it enabled,
and are willing to wait that long.
1
u/dl1998 Apr 19 '21
Totally irrelevant but I have my likes and dislikes with Visual Studio. I'm not a huge fan of visual studio's UI. Text editor feels sluggish when I type, especially when comparing it to IntelliJ and VSCode.
Does anyone else feel the same way?
→ More replies (1)
1
u/apadin1 Apr 19 '21
For the first time ever, Visual Studio will be 64-bit.
lmao what??? How is that possible?
1
u/bytesback Apr 20 '21
I’ll say, the video in that post is impressive with the amount of files it’s loading in.... but won’t mean much as soon as I install ReSharper 🥲
2
u/KillianDrake Apr 20 '21
At that point Resharper overtakes Bitcoin as the highest energy consumer on the planet
→ More replies (1)
158
u/ben_a_adams Apr 19 '21
Visual Studio 2022 is 64-bit 👀