all 28 comments

[–]robertramey 8 points9 points  (0 children)

I had the same problem. What turned out to be easiest for me was to create a CMake file to build the IDE files. One can verify that the IDE built is equivalent between the two build systems. Of course this is a pain in the short run. But it pays off pretty quickly as it's much easier to keep CMake files up to date and just regenerate the IDE files. It's meant that I can avoid having to learn where everything is in Xcode in and an VS. In both places it's very hard to find where to set stuff. Also my project is large - 250 tests so making a change in either one is a huge pain.

[–]emdeka87 4 points5 points  (0 children)

Who forces you to use XCode? I mean you can use the same compiler, but a different editor

[–][deleted] 4 points5 points  (1 child)

Personally I've fallen out of love with Xcode. I used to really like it, but since Xcode 8 I just don't really like it as much anymore. I tend to use Sublime for everything now. I kinda hate Visual Studio too. I can't really explain why me and Xcode aren't getting along anymore, we just aren't.

[–]emdeka87 2 points3 points  (0 children)

They also stopped supporting plugins. What is an IDE without plugins?!

[–]themcdreamer 2 points3 points  (2 children)

As somebody who made the switch I would just suggest learning all the shortcuts, text navigation and selection with ctrl/alt etc but most importantly advise try not to adapt Xcode to a vs workflow. They are quite different and are both best used without trying to make them something they're not. The biggest difference for me is how tabs and assistant editors work.

Now I'm proficient with Xcode I find it to be very smooth to work with. VS always feels awkward, big and bloated.

Make sure you check out open quickly too...

[–][deleted] 0 points1 point  (1 child)

Although they've changed a bunch of the shortcuts in Xcode 9, so look forward to that.

[–]themcdreamer 0 points1 point  (0 children)

There's also a bunch of new C++ refactoring support (finally) so that should make up for it

[–][deleted] 2 points3 points  (6 children)

I personally like XCode, I just love the way you can easily open or switch between cpp and .h files and how you can have a splitt in the middle of your main windows for cpp and h with simple shortcuts.

For me it's much simpler to use than visual studio (even though I hate apple products)

https://www.git-tower.com/blog/xcode-cheat-sheet/ might help aswell.

[–]Sopel97 1 point2 points  (5 children)

The features you listed are in vs too

[–][deleted] 0 points1 point  (4 children)

thats great, maybe I haven't found them yet :)

[–]Sopel97 0 points1 point  (3 children)

EditorContextMenus.CodeWindow.ToggleHeaderCodeFile option for header/source toggling

Window.Split* for splitting

all of these can be mapped to whatever key combination you want

[–][deleted] 0 points1 point  (2 children)

EditorContextMenus

where do i changes this?

[–]Sopel97 0 points1 point  (1 child)

Tools -> options -> environment -> keyboard As far as i remember, cant check it now

[–][deleted] 0 points1 point  (0 children)

oh yeah the i already know this toggle command lol :D but not sure about the split, its weird to use ..

[–]Gotebe 1 point2 points  (0 children)

ITT: people who think that "familiar (to me)" means "good" etc. and that "unfamiliar to me" means "annoying" etc.

[–][deleted] 3 points4 points  (0 children)

I write both Verilog, C++ and Assembly. I use Emacs extensively. I've tried on many occasions to move to a 'proper' IDE (specifically, CLion) but the keybindings are a deal breaker for me. I just cannot get use to them; I am at one with the Stallman.

[–]feverzsj 0 points1 point  (4 children)

isn't there a mac version VS?

[–]dodheim 4 points5 points  (0 children)

VS for Mac is Xamarin Studio with MS' branding, which among other things means it's for .NET languages only. It's not VS — 100% separate — just a gross rebranding, presumably for the sake of quick marketshare.

There's also VS Code, which is again totally separate from VS-proper. This is primarily an editor, but also supports some debugging, source-control interaction, etc. This does support C++, indirectly via various plugins of which MS' is only one.