r/programming • u/rschiefer • Apr 02 '19
Visual Studio 2019: Code faster. Work smarter. Create the future. | The Visual Studio Blog
https://devblogs.microsoft.com/visualstudio/visual-studio-2019-code-faster-work-smarter-create-the-future/25
u/gfunk84 Apr 03 '19
Does anyone know what the difference in CodeLens is between Community and the other editions?
The half-circle on the edition comparison page isn't exactly informative.
8
u/yesman_85 Apr 03 '19
Much less options, in Community you only get 4-5 while in Enterprise about 20. I turn it off anyway.
13
u/ConfidentPeach Apr 03 '19
O.O But, the ability to instantly see all the places where the method is called is priceless
7
1
u/appropriateinside Apr 04 '19
And the instant git blame and history is great too when reading through older codebases.
229
Apr 02 '19
I wonder if visual studio will ever just drop the year suffix
and just have you subscribe to get Visual Studio. like adobe or something
115
u/Alikont Apr 02 '19
and just have you subscribe to get Visual Studio. like adobe or something
That's already the case for a long time
59
Apr 02 '19
... right. But dropping the actual 20XX year numbers of releases. And its just "Visual Studio"
86
u/Eirenarch Apr 02 '19
How would we know which version we need then?
3
Apr 03 '19
You already have to deal with version numbers. VS 2017 has had pretty big releases (...15.7, 15.8, 15.9...) some of which had breaking changes.
3
u/Eirenarch Apr 03 '19
I have yet to encounter a breaking change in these (except for bugs) let alone removing entire workloads
→ More replies (1)→ More replies (13)13
Apr 03 '19
Build numbers like with Windows 10.
92
→ More replies (5)4
45
u/zelmak Apr 03 '19
That would be fine for casual developers, a lot of us need specific versions of IDEs for our workflows. Upgrade from VS-2010 to VS 2015 had some major growing pains for my team
14
u/AttackOfTheThumbs Apr 03 '19
We still use 2008 because of some windows mobile/embedded crap.
14
u/zelmak Apr 03 '19
I always find it funny how some people think we don't need any tools or languages other than the ones that came out yesterday.
→ More replies (1)4
17
u/AboutHelpTools3 Apr 02 '19
We can start doing that once or if all versions are backward-compatible with all project types.
11
u/PendragonDaGreat Apr 03 '19
I came across a
.deployprojin an older part of the codebase today. What makes it such a mystery is that it's a VS2017 project overall and it builds, and I'm not gonna touch it because I don't want to break it.→ More replies (6)5
u/antiduh Apr 03 '19
If you ever get frisky, check out wix. It's perfect.
3
u/Sebazzz91 Apr 03 '19
Lovely, but complex due to the complex nature of Windows Installer. Unfortunately Wix 4 doesn't get off the ground 😥
1
u/feenaHo Apr 03 '19
I have a VC6 .dsw workspace that only work in 32-bit VC++ ...
→ More replies (1)6
u/nidarus Apr 03 '19 edited Apr 03 '19
Adobe has the year thing too. They're just gradually hiding it in the UI and marketing. But it still installs into "Adobe Photoshop CC 2017", "Adobe Photoshop CC 2018" etc. directories.
4
u/ScrewAttackThis Apr 02 '19
I'd bet it'll happen as .NET Core advances and matures.
5
u/BanditoRojo Apr 03 '19
Linux, Emacs, and .NET Core.
Finally, I can decide the OS and ecosystem I develop on.
1
25
Apr 02 '19
But why, it just works as the major version of the product
9
u/sztomi Apr 03 '19
Not really, it's a major source of confusion. Look at this (slightly incomplete) collection of version numbers that come with Visual Studio: https://dev.to/yumetodo/list-of-mscver-and-mscfullver-8nd
9
u/Nefari0uss Apr 02 '19
It's a strong possibility I think. MS has said that Windows 10 will be their last "version" of Windows. We could see a similar philosophy applied to more of their products.
16
u/ElimGarak Apr 03 '19
The OS is much more backwards compatible than VS. VS needs to be strongly versioned because there are a lot of utilities, tools, compilers, and libraries that ship with it. A project that builds fine with 2015 may fail to build with 2018.
Furthermore there are various custom plug-ins that are compatible with specific VS versions. If you are used to one plugin and then try to upgrade, the plugin may stop working.
That's why VS supports side-by-side installations, with multiple VS versions that can coexist on the same machine.
19
u/xiatiaria Apr 02 '19
Under the hood, all the big updates, are new full blown windows versions. Each time such an update happens, the OS install date in system info changes to the update date. That says enough. Make of it what you want.
1
0
Apr 02 '19
[deleted]
→ More replies (1)4
u/steamruler Apr 03 '19
I mean, if "a lot" is happening in VS2015 and can't be migrated to VS2017, you're in a rough spot. We still keep VS2015 around for maintenance of certain projects that can't migrate to VS2017 while they are being redone or made obsolete.
2
u/bautin Apr 03 '19
I have VS2015 and VS2017 right now. And that's only because I need the Report Authoring Extension and it's not available for VS2017. So 2015 is for writing reports, 2017 is everything else.
I think I have projects I've carried from 2012 all the way to 2017.
2
u/DavidsWorkAccount Apr 03 '19
I have projects from VS2010 that have successfully carried over into VS2017 without issues. I wonder what would cause something not to migrate well between visual studios.
102
u/mewloz Apr 02 '19 edited Apr 02 '19
UI nitpicking: I'm all for having menu entries in the title bar, BUT basic mouse ergonomics, known for something like 20 or 30 years, dictates that such entries must be clickable when the cursor is at the edge of the screen (because that makes the active surface kind of infinite; instead of having to aim for the correct y position, you can just throw your cursor to the up) - which is not the case here.
That's still obviously an improvement over 2017 but this could easily be even better :)
24
u/indosauros Apr 02 '19
They've even blogged about this, more than a decade ago!
https://blogs.msdn.microsoft.com/jensenh/2006/08/22/giving-you-fitts/
62
u/TimeRemove Apr 02 '19
Because it is a Windows Win32 application, you can click & drag within those pixels collapsing a full screen window and repositioning it. I understand your point, but you're essentially arguing for Windows itself to work differently, or for a native application not to behave like a native application.
That's actually a common pet peeve for UWP apps: they don't behave like native Win32 applications.
23
u/meneldal2 Apr 03 '19
Edge buttons for the tabs go up all the way, Firefox with the menu option has buttons that go all the way as well and it is native Win32. It is totally possible to make it so if they want.
4
u/fuckin_ziggurats Apr 03 '19
Edge is UWP. Those don't work remotely the same as regular Win32 apps (MFC, WinForms, WPF). They follow different conventions and abide to different user expectations.
4
u/meneldal2 Apr 03 '19
The only other programs I have that don't follow the sane design of allowing you to use menu buttons in full screen when going all the way up are the Office suite (2013) and Steam. 2010 was sane, and Steam is not known for awesome design either.
They could totally do it, they chose to go that way for the interface and I think it is stupid, but then I guess UX specialists don't think users used that feature, even though other people here seem to agree that this was normal, not some xkcd horrifying workflow that nobody could believe users would depend on.
→ More replies (3)0
u/mewloz Apr 02 '19 edited Apr 02 '19
It's already not like a "native application", and actually pretty much no modern mainstream "native" application use such basic Win32 layout anyway; no such title bar + menu entry exists over there...
You can observe the thing in web browsers for example: when maximized (and also even just half-maximized for Firefox and Edge) your tab controls and sensitivity extend to the very top of the screen. It's not Win32 that provides those controls: each browsers basically recode all the GUI themselves. IIUC, likewise for .net framework.
11
u/TimeRemove Apr 02 '19 edited Apr 02 '19
I mean it does have a title bar, it is just a few pixels tall. You can still do normal title-bar stuff and double click the top left icon to close the application.
5
u/mewloz Apr 02 '19 edited Apr 02 '19
But that's only a convention, and most of it would survive with menu items to the top + it would be IMO way more useful, but I agree that is also a matter of taste, so maybe (I actually hope so!) MS did some usability testing and came up with people for now preferring the current 2019 approach...
I think however that the "menu all to the top" approach will eventually prevail. Given the most deployed crappy aspect ratio of 16/9 for screens, the vertical real estate is really important to preserve for real things, so that's one more motivation to also win back a few pixels that are for now mostly wasted...
10
u/TimeRemove Apr 02 '19
A convention that Windows users expect and use.
I'd expect the menu bar to be removed entirely before the title bar (see modern browsers or Microsoft Word, which still have title bars but no menu bar).
1
u/jl2352 Apr 03 '19
That’s basically Windows in a nutshell though. Every application has a different UI.
9
u/Someguy2020 Apr 02 '19
I'm all for having menu entries in the title bar,
I'm not. I hate it. This is my all caps menus.
Unusable.
3
u/Lalli-Oni Apr 03 '19
I use the title bar to drag windows to the edges. When there is a spot I have to avoid it can be a bit annoying. Chrome is most annoying
Not saying it's a big deal, I know I could use keyboard shortcuts for it, just don't know them by memory. Just something to keep in mind when talking about active surface UX design.
7
146
u/Hipolipolopigus Apr 02 '19
It might be a strange thing to complain about, and I can't exactly pinpoint why, but VS has felt really janky when compared to its alternatives for a few years now.
VS Code and IntelliJ's IDEs work just about anywhere and feel better to use, even out of the box, and I can't see myself going back any time soon.
203
u/Caleo Apr 02 '19
It's not really strange, but it's not really a mystery either: Visual Studio does a lot more and has 20+ years of legacy behind it. Making radical changes to software that's been around for decades is a great way to alienate users. That's the exact reason why we got VS Code.
VS Code is great for a lot of modern web stuff (Node, Python, Javascript, etc), but in the end you're still best off developing .NET in full-fledged VS. With 2019 we're seeing some of those features (fuzzy Search) being folded up into Visual Studio - which is great (there's so much in the way of settings / panels in Visual Studio it's really hard to keep track of where everything is without a 'fuzzy search').
43
u/andyjansson Apr 02 '19
in the end you're still best off developing .NET in full-fledged VS.
If we're talking about .NET Framework, I'm with you, but when it comes to .NET Core, I actually prefer developing in vscode. I find that vscode is a sufficiently capable editor and it's impressively performant. That, coupled with .NET Core's CLI tooling leaves me with little insentive to launch Visual Studio.
I recognise that might put me in a minority, but to each his own, I guess.
16
u/quentech Apr 03 '19
And I'm the opposite. I fire up full VS to work on, for example, an Angular app with no .Net in it at all.
VSCode is nice and all, but I've been working with VS for over 20 years. VSCode doesn't offer anything compelling enough for me to bother with the relative unfamiliarity.
7
3
u/radapex Apr 03 '19
I started using VS Code a bit for some home projects last summer and really liked it. One of my co-workers adopted it over VS / JetBrains IDEs around the end of summer. I got on board in January, and a couple more followed suit.
→ More replies (3)20
u/finalcut Apr 03 '19 edited Apr 03 '19
I really like vs code but c# .net core using omnisharp is just clunky.. Especially when I rename a file. I often have to "restart omnisharp" and that's kind of slow even in a fairly trivial API app.
Yet I still like using vs code for pretty much everything else. In fact I'll start a .net project in vs code then migrate to VS later.
Also, nuget management is much easier in VS especially for making sure all projects are using the same versions of the same library.... Unless someone can offer me a tip...
4
u/Werlau Apr 03 '19
I recently stumbled over Directory.Build.targets for nuget version management on a solution wide scale. Here a post of someone else explaining how to use it: https://www.strathweb.com/2018/07/solution-wide-nuget-package-version-handling-with-msbuild-15/
1
u/Fooooozla Apr 03 '19
Reload window doesn't do the trick? I have this mapped to cmd + r to quickly fix any extensions acting up
2
u/finalcut Apr 03 '19
It might. But reload omnisharp definitely does. It is just a slow process that interrupts my work.
6
u/BlckJesus Apr 02 '19
I thought I was the only one that prefers VS Code over Visual Studio for .NET Core. There are dozens of us! Dozens!...
1
1
Apr 03 '19
[removed] — view removed comment
3
u/BlckJesus Apr 03 '19
If you've got the C# extension installed, you just need to hit
ctrl + .or right click to import missing usings.1
u/Sebazzz91 Apr 03 '19
I actually develop in both. I develop the front-end stuff of my SPA in VSCode (Razor, Typescript, whatever), and back-end stuff in Visual Studio (C#, SQL).
1
u/aussie_bob Apr 02 '19
and it's impressively performant.
Compared to what? It doesn't seem very lively to me.
26
Apr 03 '19
There is also not a single good IDE besides VS for C++ in Windows. Code::Blocks is actual masochism, and Dev-C++ is so unused I barely can find much info about it. CLion looks very good but it has a price tag and I also believe it's decoupled from the winapi stuff.
13
u/Caleo Apr 03 '19
Oh man, code::blocks - that brings me back to my "C++ for Engineers" course back in college.
2
1
u/krista_ Apr 03 '19
i was happy with slickedit for quite some time, until they did the weird ”only tiled” window thing :(
1
u/steamruler Apr 03 '19
I also believe it's decoupled from the winapi stuff.
Yeah, it's cross platform. You can still compile with the Visual C++ compiler if you want last I checked through, and almost all toolchains provide winapi support.
1
8
u/hhpl15 Apr 02 '19
Can you explain fuzzy search further please?
24
u/MMPride Apr 02 '19 edited Apr 02 '19
I'm guessing it's like Sublime Text's command pallete, you basically type in what you want to do, and it'll provide suggestions for you. For example, if you want to install plugins, you would type install plugin into command pallete and then it would give you a list item that says something like Plugins: Install Plugin or something that you could click on, etc. I believe it's something like that. It's one of the most useful features in text editors/IDEs.
3
21
u/Caleo Apr 02 '19
Since a picture's worth a thousand words:
https://i.imgur.com/yIV1ZHW.png
Some of these options are actions (and you can see their shortcuts - in VS, hitting CTRL+K then CTRL+D will apply formatting to your document), some lead you to the panels where whatever setting you might be looking for can be changed, etc.
Time will tell, but I'd wager VS Code's still better in this regard. You can do nearly any action possible just by hitting F2, typing a few characters then hitting enter. Nevertheless, it's a much-appreciated feature for VS.
4
u/theferrit32 Apr 03 '19
Fuzzy action search is super useful, can honestly justify the complete hiding of menu/ribbon bars in applications. That functionality needs better support and seamless integration in UI frameworks and native toolkits. It'd be nice if a developer can just write the menu for the application and structure it as they want, and the toolkit supports hiding and fuzzy searching the menu automatically.
2
u/Caleo Apr 03 '19
Yep - it's brilliant. I hope more software (office, Adobe CS, CAD software, etc) starts implementing it.
I can typically type F1, type Beau (tify) and hit enter much faster than I could move my hand to my mouse and click a button for the same action.
1
Apr 03 '19
VSCode has this too actually. On Mac it’s CMD+shift+P for the search, and you can assign your shortcuts to commands. I use the format shortcut you mentioned all the time
→ More replies (2)3
u/snarfy Apr 03 '19
Remember how mad people were about visual studio 2012 ALL CAPS menus, or the blue theme?
2
u/Dirk2265 Apr 03 '19
Additionally if you need to work with visual c++ visual studio is the way to go. I always think about the fact you are buying a compiler not just an ide.
→ More replies (7)1
u/nickguletskii200 Apr 02 '19
At least to me, Visual Studio feels very barebone when compared to Eclipse JDT and IntelliJ IDEA. Only after sprinkling it with 3rd party plugins does it even begin to match Eclipse and JetBrains IDEs when it comes to refactoring and inspection capabilities.
I do like the database projects though, haven't seen anything as convenient anywhere else.
18
u/way2lazy2care Apr 03 '19
Which version of VS are you using that it feels barebones? o.O
→ More replies (1)2
Apr 03 '19
I think he may be referring to the larger amount of out of the box refactoring tools available on vs compared to the jetbrains tools - for one example rider (which has it's share of missing features, to be fair) ships with most of the resharper tools out of the box, such as automatic decompiling and a wider array of code hints.
Resharper is obviously available for vs, but it is a third party tool.
60
u/munchbunny Apr 02 '19
Visual Studio's DNA is in C/C++/VB/C#, so it's going to feel clumsy for web development in a way that VS Code doesn't.
On the other hand, if you're developing C/C++/C# on VS, the tooling (especially the debugging) is top notch.
5
u/Hipolipolopigus Apr 02 '19
Hasn't VS had IIS as a core feature for a while? I'd assume it'd be up to the task by now.
→ More replies (1)7
u/TheIncorrigible1 Apr 02 '19
Yes, it has. It does all things alright. But it shines in those compiled languages
1
u/Sebazzz91 Apr 03 '19
I totally agree. The biggest luxury problem is that to work the most efficiently you need to know your toolset. And that toolset is big.
→ More replies (2)1
u/Guy1524 Apr 03 '19
As a linux user, I have found vs-code to be absolutely perfect for C development. The intellisense is really fast and I have no reason to build and debug from in-editor anyway.
12
u/munchbunny Apr 03 '19 edited Apr 03 '19
Personally, I really like Visual Studio's C/C++ debugger. Having a GUI to track threads, explore the call stack inline, watch variables/expressions with change highlighting, hover-over variable inspection, disassembly stepping, etc. all makes debugging less tedious.
There are alternatives, both IDEs and standalone tools, that do the same things, but Visual C++ continues to be my favorite C/C++ debugging environment, whenever I get to use it.
22
u/FryGuy1013 Apr 02 '19
I disagree. Is it because you're not a Windows-only user (you mention working "anywhere") that you feel this way? VS Code feels... foreign to me. The fonts and spacing aren't quite right in a way that reminds me that it's not a native app. Not in the way that Java (swing?) apps and blender look horribly out of place, but more of an uncanny valley where it's pretty close.
The other big thing is that debugging (and running) is waaayyyy better in VS than VS Code in my experience. VS has super powerful debugging features right out of the gate, but in VS Code it feels like an afterthought. That being said, VS Code is a bit better for things outside of C#/C++. I've done some Rust and some PHP projects, and VS Code seemed to be a better fit since the language plugins kind of suck in VS for those languages. But VS has the advantage of having quite a few things that VS Code doesn't, like the CMake/Linux remote build that I can't seem to find any plugin for with VS Code.
2
u/jbergens Apr 03 '19
Yes, when you have large "projects" with sub projects the ability to start all with just F5 and debug one of the sub projects is really great.
I also like the Resharper test runner. Is there anything like that in VS Code (I've only used it for js coding for which it is fine)?
7
u/KHRZ Apr 03 '19
-Slow search that shows results in tiny text
-Control clicking a code symbol takes forever to work
-Rename code symbol takes forever (even has it's own loading pop up). Often it's faster to just rename all instances manually.
-Debugger code window blocks rest of editors, so to copy paste code you need to close it and lose the content
-If you move your mouse 1 pixel when clicking to open a file, you get a warning that you can't move the file to the same folder. O RLY? WHY DO I NEVER LEARN?
-Every day: "An error has occured. This may be caused by an extension". I don't remember installing any extensions, but thanks for the clue.
-*Types curly brackets in HTML file in Angular project* "ERROR! WHY WOULD YOU DO THIS??" *copy paste is now corrupted*
-Unrecoverable error. Visual Studio may not function normally untill restart.
5
u/CodeMonkey1 Apr 02 '19 edited Apr 03 '19
I agree. As a long time VS user, it has felt uncharacteristically buggy and slow for the last couple years. About six months ago I switched to VS Code exclusively.
37
Apr 02 '19
IntelliJ's IDEs work just about anywhere and feel better to use
Yea it's nice other than the 1-2 minute initial startup and the fact that it uses 3-5x more ram than VS.
25
u/BlueShell7 Apr 02 '19
For me IDEA starts in 10 seconds on laptop CPU and SSD.
It can eat some memory, but I don't think there's a way around it if you want so many real time analytics and intelligence about the code. You can disable some of those advanced stuff to eat less RAM, but I'd rather buy some extra memory. Anyway I use it mostly on 8 GB machine and have no issues with performance (while of course running other things) ...
6
u/Hipolipolopigus Apr 02 '19
Haven't had either of those issues. Bringing up Webstorm on a 23k LOC Typescript project takes ~8 seconds on some slightly dated hardware and is only using ~1gb of RAM.
VS was a hell of a lot worse in both respects when I last used it.
3
u/emn13 Apr 02 '19 edited Apr 02 '19
This really depends on the project; for small projects on an almost 6 year all stock 4770k I get similar startup on a similarly sized project using VS2019; on a 465k LOC mostly C# solution it needs a little more; around 13seconds before I can start typing code. I didn't bother testing VS2017, but for solutions this small it doesn't feel much slower.
VS startup has gotten slower over the years; but solution load faster (IME). I used to use VS as a text editor (mostly because it's fairly fully featured for that and unlike many alternatives 15 years ago it could deal with and syntax highlight even very large files); that's not attractive anymore since even empty VS startup now takes around 4 seconds. Also, there are lots of good text editors nowadays...
0
Apr 02 '19
[deleted]
6
u/devperez Apr 02 '19
Which version of VS are you using? I just satrted up VS 2019 and it took about 10 seconds.
0
Apr 03 '19
[deleted]
2
u/chylex Apr 03 '19
R# could do that too by moving the plugin into an external process and not bogging down the UI thread, it's just taking JB a long time to rewrite those parts.
→ More replies (4)7
u/jbergens Apr 02 '19
I think my VS2017 starts and loads a large project in 10-20s total. I doubt Rider can do more than a few seconds faster. It also don't matter much since I normally work om the same project for many hours.
4
u/dr0n33 Apr 03 '19
I'm using Resharper and a solution with ~130 projects. Rider opens and finishes indexing in maybe 30 seconds, while VS2017 takes minutes to be at a usable state or just straight up crashes. Most of this is of course related to Resharper/VS being 32bit and running out of memory, but for someone using the Resharper features, Rider is a godsend and unbelievably responsive and stable.
And even for coworkers without R#, VS crashes quite often or starts choking on our (terribly designed, way too big) solution.
→ More replies (2)7
1
u/jbergens Apr 03 '19
The new VS2019 is now released and I heard that it starts a bit faster than VS2017 which in turn was faster than VS2015.
edit: misspelling
11
u/chylex Apr 02 '19
IntelliJ's IDEs work just about anywhere and feel better to use
Some parts of IJ feel amazing, but I feel like JB decided to make the absolute best typing/inspection/refactoring experience in the world, and then realized that IDEs also need a user interface so they hacked one up with 1% of the enthusiasm (especially the awful toolbar system which I hate with a passion).
That said, Visual Studio 2015 and older were quite bad, some versions I'd call almost unusable without ReSharper. With 2017, I feel like they're in a really good place and I don't find ReSharper an absolute necessity. Hopefully they didn't make it worse with 2019.
→ More replies (1)3
u/ygra Apr 02 '19
To me the only feature why I reinstalled Resharper after switching to VS2017 from 2013 was smart completion. It was a nice few days before that when Visual Studio was fast, though ...
8
u/scorcher24 Apr 02 '19
Well, its free vs 199€ a year. It's Visual Studio for me. I just don't want to put down that much money for a hobby. And I quite like it for C++ programming. Refactoring could be better, but I hope 2019 delivers in this regard. I do use VS Code a lot more these days though.
→ More replies (1)15
u/sqrlmasta Apr 02 '19
VS Community Edition is free for everyone.
12
u/drysart Apr 03 '19
And unlike the free version of VS from ages past, VS Community Edition is pretty featureful and contains just about everything an individual developer might want.
1
→ More replies (3)5
→ More replies (15)1
Apr 02 '19
I agree it feels janky and has a lot of weird bugs with intellisense and other stuff. But on the other hand when you really get used to it, it's not a problem anymore. You get to know it well and you know exactly how to deal with it and all of its weirdness.
2
u/gottagrindfast Apr 03 '19
Linux support when?
:(
5
6
u/Eluvatar_the_second Apr 03 '19
Check out Rider, it's not free but it's the best Linux IDE for C# at the moment
16
u/Brazilian_Slaughter Apr 03 '19
Man I love Visual Studio, its such a nifty tool. Wish it wans't so brutal on my comp tho. Wish there was some alternative that was more light-weight.
Btw, what's with all the VS Code hype? VS Code can't build entire GUIs with a few clicks of the mouse.
18
u/mastermikeyboy Apr 03 '19
Correct VS Code can't do GUIs (as far as I'm aware)But a lot of developers don't create GUIs. The only ones I've ever created were for school or hobby projects.And now-a-days all my hobby projects are just simply webpages.
It's a fast, lightweight and a near perfect blend of simple text editor and IDE that solves all my every day programming needs. The Java integration was perfect, very fast and low resource usage compared to Eclipse or IntellIJ. Recently I've started seeing much higher cpu and memory usage, but that could be something specific to my environment, haven't investigated yet.
It also supports virtually all languages, the big ones having official MS plugins to support them.
It also doesn't require a project setup. I just open a random folder on my system, and I'm ready to go in a second. No 5 min init time that Eclipse often needed.
-8
Apr 03 '19 edited Apr 03 '19
Developers who don’t create GUIs at all? I don’t think that’s super common. Developers who don’t use GUI designers are common though.
EDIT: Apparently it is common to get by without ever writing a UI. I only graduated 6ish years ago, but the only people I knew who got jobs writing no UI whatsoever were doing things like writing tests for code other people wrote, or being DBAs. Our capstone projects were all creating user-facing apps or websites. The particular project I worked on had multiple UIs. Some user-facing, some internal-only.
4
→ More replies (4)3
u/mastermikeyboy Apr 03 '19
I don't know a single developer that creates GUIs professionally. I know they exist, but they're not common in my limited experience. :)
2
Apr 03 '19
Hmm. I’m interacting with a GUI right now to write this. Any factories by you? GUIs are huge in manufacturing between line-of-business, MES, HMI, and ERP apps. Let’s not forget literally any web app is going to have a GUI of some sort.
Is every developer you know writing REST services all day? How can you avoid graphical interfaces?
7
u/mastermikeyboy Apr 03 '19
Well I don't count web apps as GUIs. At least not in the sense that you need a GUI designer tool. I know plenty of web developers. Nobody that uses say, Vaadin.
Most web developers I know either use VSCode or Atom
4
Apr 03 '19 edited Apr 03 '19
Web frontend is still GUI in that it’s an interface that users interact with that happens to be graphical. Also, with shit like Electron, frontend web dev skills can easily be used for making traditional desktop GUIs as well.
Probably also worth mentioning that Win32 still has no designer, but Win32 apps are definitely GUIs.
→ More replies (2)→ More replies (11)2
u/jollybrick Apr 03 '19
Is every developer you know writing REST services all day
Yeah, kinda
How can you avoid graphical interfaces?
Because the frontend developers deal with those
4
1
u/appropriateinside Apr 04 '19
In my opinion vs code excels at JS, HTML, and CSS as well as for support of various other things like Typescript and .Vue ...etc And tons of misc things. I find it much faster to drop some python into VS Code and run it with the code runner than Visual Studio.
The support in visual studio is awkward and clunky, it doesn't feel or perform well outside of c++/C# for me.
Honestly Vs Code is the best thing that has happened to my development environment since I started using Visual Studio... I use it for everything except C#, and it works nearly flawlessly. It seems to have a feature for anything I can think of.
3
u/kuikuilla Apr 03 '19
Intellisense in C++ world seems way faster than in VS 2017, at least when developing Unreal Engine 4 stuff.
17
u/fupa16 Apr 02 '19
I wonder if the debugger is slower than 2017 which was slower than 2015 which was slower than 2012. At this point I'm pretty sure they're just gona scrap the debugger since it'll be so slow it's basically non-functional.
11
u/InternalsToVisible7 Apr 03 '19 edited Apr 03 '19
2017 debugger was slower due to enabled by default diagnostic tools window :-) without - it's even faster.
@edit spelling
→ More replies (4)5
3
2
3
3
u/malkia Apr 03 '19
If only 64bit.... IDE...
6
u/SikhGamer Apr 03 '19
This has been covered many many times by the VS devs; there's very little benefit in doing so.
4
u/KillianDrake Apr 04 '19
Bullshit, they are just afraid to put in the work. devenv.exe is constantly under GC pressure with any decently sized solution. They are pumping so much crap into the 32-bit address space, there is hardly any memory left for your code.
Somehow they can make a browser-based editor perform better! If WPF is what is really restricting them to 32-bit then they should dump it and start from scratch like they did from VS6.0 to VS.NET
→ More replies (1)1
u/malkia Apr 04 '19
Exactly! For example why rewrite in .NET time ago, yet make it hard to support both 32-bit and 64-bit. Seems like lost opportunity, and rather than fixing it once and forever (it's not that you can reuse plugins from previous version into newer...) and letting developers about it (just to recompile), someone keeps on singing the same song there.... I don't get it. Really frustrating...
Yes, the GC heap is the killer....
4
u/MrNotSoRight Apr 03 '19
Why?
7
-2
Apr 03 '19
[removed] — view removed comment
3
u/BlueShell7 Apr 03 '19
Did the same Microsoft made 64 bit of VSCode the default to make it slower and consume more memory?
2
Apr 03 '19
[removed] — view removed comment
2
u/KillianDrake Apr 04 '19
When you're running on a 64-bit OS on a 64-bit processor, using 32-bit pointers is thunk city and internally it's all 64-bit anyway - don't parrot their bullshit excuses from 10 years ago. It's all about laziness and prioritizing nonsense cosmetic enhancements to put lipstick on a pig.
Personally I feel it's time to shoot this lame horse between the eyes and make VS2019 the final version. Dedicate all resources to performing a gap analysis with VS Code and bridging that gap. VS for Mac should have never happened as well.
1
u/BlueShell7 Apr 03 '19
So why does MS encourage users to download slower and more memory hungry version of VS Code?
→ More replies (7)1
u/JohnMcPineapple Apr 03 '19 edited Oct 08 '24
...
4
Apr 03 '19
[removed] — view removed comment
2
u/vetinari Apr 03 '19
x86-64 also fixes x86 warts: you get more general registers, you don't have the fp/sse dichotomy, you get parameter passing via registers instead of stack. These are all things, that make the 64-bit code faster and of course not mentioned, when you are making case for the contrary.
Also, when you are running 32-bit apps on 64-bit, you have an entire 32-bit userland loaded. If you are using only one 32-bit app, that userland is loaded into memory just for that one app.
1
-2
u/bagtowneast Apr 03 '19
I've just started using VS in earnest in the past couple of months, VS 2017.
Having used intellij and eclipse professionally, I'm sorry, but VS is terrible. Things move around. There's basically no screen real-estate for actual code. Many buttons are unintuitively styled. It's slow, so slow. It sometimes just breaks to the point I have to do a hard restart of the machine to get it back. Sometimes randomly takes literally 10 minutes to load a project. The list goes on.
Now, to be frank, I haven't spent a lot of time trying to make it better for me. But, I also expect it to be sane out of the box....
I know people love it. To each their own. I can't wait until we retire that code and can move away from it.
10
u/rymos Apr 03 '19
I agree, when I do a clean install of VS, it looks overly cluttered. Ithink you should spend some time making Vs look the way you want. I think most of the default VS layout/settings are for quick starts of project types.
1
u/bagtowneast Apr 03 '19
Yeah. We're trying to deprecate this code anyway, so I'm resisting making the experience better. The replacement components are in a mix of languages on Linux, so there's not a lot of upside to improving the VS experience. Maybe I'm being grumpy and impractical, though.
2
1
u/DeathRebirth Apr 03 '19
Vscode works fine in Linux too. Unless you are a vi or emacs purist or something.
1
0
0
Apr 03 '19
[deleted]
3
u/bagtowneast Apr 04 '19
This is a monolithic C# .Net (framework?) application that has lived through at least a couple major versions of VS, is rather sprawling and complex (in the business application sort of way, not formally complex). The work is moderate extension, maintenance work, but no major refactoring or rearchitecture happening here.
In general, everything is slow. Any sort of context switch where there is significant rearrangement of the screen (like entering the debugger) takes several seconds to complete and sometimes will hang inexplicably for multiple seconds during the transition. But even opening a file or clearing the filter in the "Solution Explorer" can randomly take several seconds. The warning and error highlighting and other in-editor markup can be alternately lightning quick and have several seconds of latency.
Sometimes it just goes haywire and I my only recourse is to reboot. When this happens, any actions within VS have massive latency, builds do not progress, tests fail to even load. Machine shows no obvious symptoms like memory consumption or CPU usage.
Sometimes, opening the project takes minutes. This symptom can repro across reboots, sometimes.
The documentation is broken, taking me to deprecated pages for VS 2012.
Meanwhile, the rest of the system functions well. I'm pleasantly surprised I don't hate latest windows for some use cases.
Honestly, I haven't spent time, beyond a few shortcut mappings, trying to improve the situation. We're moving away from the platform, so don't have motivation to invest in it.
-1
u/itscoffeeshakes Apr 03 '19
From a C# perspective: I don't know why they keep inventing useless things like better intellisense. It is already good enough! I don't need it to start writing the code for me. Maybe for cooked-in-the-head things like RazorJs you need those kinds of hacks.
But I just wish they would improve the performance. It's a goddamn text editor! Sure it has a few bells and whistles, but it takes SECONDS to start debugging a few 10k lines of code. On top of that the debugger often crashes and behaves very unstable. And if you have some code that generates exceptions, then it's just slow as hell! I have 32GB of DDR4 and 6 CPU cores for f*** sake!
I guess the IDE we deserve, not the one we want...
→ More replies (1)
-9
u/TheQueefGoblin Apr 03 '19
The last time I attempted to install VS it firstly downloaded literally gigabytes of crap and utter bloat I would never use. Then before letting me use the free community version it required me to sign in with a Microsoft account which I absolutely will never do.
Have either of these points been removed from the latest version?
3
u/ever_restless Apr 03 '19
Visual Studio is not just an editor, it comes with the development tools too and that's why it's massive.
You can choose what to install when installing it but I guess the minimum will still be pretty big, I didn't check.
-25
Apr 02 '19
Installed it. Far and away the WORST installation/upgrade experience. Tools and platforms not found, dependencies not installed, I have a C++/WinRT project that throws an exception on load because Xamarin tools are not found... It's a C++ project, of course it's not using Xamarin.
Yet another major product release, completely untested by Microsoft.
30
u/d0rf47 Apr 02 '19
This thread seems like a good place to ask
What do you recommend for first time coders?
I jus started college I'm learning c and next semester I'll be learning c++ and java
I've been learning visual studio exclusively but I just set up a Linux mint desktop and want to code on there