News for hackers. Stuff that matters.
Re:Short intro to C++ for Rust developers: Ownership and Bor... by oselhn on Monday January 23, 2017 @05:51AM (#13461278)
I use Visual C++ 2013 at work and it is quite bad. It is just smarter text editor. There are only most basic refactoring features, even find all references is not reliable (it is text based search). You have to buy another extension to make it usable (Visual Assist or Resharper). Project files are a mess. There is vcxproj file to define build and vcxproj.filters file for directory structure view in VS (I do not understand a reason for this). vcxproj.filters is often broken by VS. It sometimes inserts duplicated lines for no reason if you add or remove some other file from project. Debugger is quite good but still I have some issues(you can't set hexadecimal format just for one variable, it is global option). Overall I have better experience with Eclipse CDT (more features) or Code::Blocks (almost same features but faster) than with VS without extensions. Resharper makes it good IDE but it cost additional money and also it is not fastest extension.

There are reasons for bad code navigation and missing refactoring features: https://blogs.msdn.microsoft.com/vcblog/2015/09/25/rejuvenat...

Re:Short intro to C++ for Rust developers: Ownership and Bor... by stinos on Monday January 23, 2017 @08:06AM (#13461895)
There are only most basic refactoring features

Ha I always thought there were actually none.

even find all references is not reliable

Yup that sucks. It's better in VS2015

Project files are a mess.

Yeah it's xml but for the rest it just lists files and options, how is that much of a problem?

There is vcxproj file to define build and vcxproj.filters file for directory structure view in VS (I do not understand a reason for this).

Can be easily solved by ditching the filters file all together and enabling 'All Files' option in Solution Explorer. Unless you insist on having all files listed by extension, which is imo a useless complete mess for enything but small projects.

you can't set hexadecimal format just for one variable

You can, use '<variablename>, h' in the watch window

Re:Short intro to C++ for Rust developers: Ownership and Bor... by oselhn on Monday January 23, 2017 @09:19AM (#13462273)
Can be easily solved by ditching the filters file all together and enabling 'All Files' option in Solution Explorer. Unless you insist on having all files listed by extension, which is imo a useless complete mess for enything but small projects.

Does not work for me, because files are located in subdirectories. I see only long list of files from all directories without filters. Maybe it is just bad project structure but I cannot change it. I found plugin for 2015 which is able to generate filters from directory structure, but I have to wait for upgrade.

Re:Short intro to C++ for Rust developers: Ownership and Bor... by stinos on Monday January 23, 2017 @01:58PM (#13464852)
I see only long list of files from all directories without filters

Not if you select 'Show All Files' in solution explorer, then it shows the entire subdirectory tree.

Re:Short intro to C++ for Rust developers: Ownership and Bor... by silent_hunter on Monday January 23, 2017 @06:49AM (#13461522)
"Eclipse CDT or Code::Blocks" - you should have put /s at the end of the sentence. And be careful with "it's just a smarter text editor" when around vi/emacs users.
Re:Short intro to C++ for Rust developers: Ownership and Bor... by pjmlp on Monday January 23, 2017 @06:29AM (#13461430)
Not when using the enterprise or ultimate versions.
Re:Short intro to C++ for Rust developers: Ownership and Bor... by oselhn on Monday January 23, 2017 @06:50AM (#13461526)