Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Visual Studio Express 2012 Yay


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
57 replies to this topic

#41 EddieV223   Members   -  Reputation: 1407

Like
0Likes
Like

Posted 09 October 2012 - 07:47 PM

This is how I made mine, I took a lot of time and carefully crafted a color scheme

Posted Image
Uploaded with ImageShack.us

If this post or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


Sponsor:

#42 tom_mai78101   Members   -  Reputation: 577

Like
0Likes
Like

Posted 10 October 2012 - 12:50 PM

Please teach me on what part of the text is what for the colors in the "Fonts and Colors", "Text Editor", list of fields there.

I wanted to make similar color schemes for VS2012, from my Eclipse. But I have trouble identifying many various terms used in that list in the vertical scrolling pane.

Eclipse:

Posted Image

Update #2:

Received feedback Saw this, and thought why they didn't do anything about it. :

Posted Image

Edited by tom_mai78101, 10 October 2012 - 01:19 PM.


#43 Ryan_001   Prime Members   -  Reputation: 1456

Like
1Likes
Like

Posted 11 October 2012 - 07:20 AM

I posted a screenshot of what I came up with. I have a multi-monitor setup so the solution explorer, output, properties, ect... are on other monitors. That way I can have 2 code windows up on the same screen. Being able to see both the header and cpp file at the same time is really nice.

Also while playing around with the colors I made myself some notes. I'm not sure of the accuracy of them, or their conciseness, but I found they helped me when setting up my own custom color theme. I really think somewhere on MSDN they should explain not only all the items but also their relationship to one another. Anyways I pasted them in the quote below, the tabs didn't quite make the copy/past, but ah well...

In order of precedence (as you move down 'groups' each subsequent group will replace, or overwrite the previous ones)
Any time 'automatic' is used as a color, the color of the next lowest precedence is used.

[group 0, lowest precedence]:
Plain Text - default text when nothing else applies
- usually what is used when 'Automatic' is used

[group 1]:
Comment - comments
Identifier - any name (variable, class, enum, label, typedef, template parameter, function parameter, ect...)
- the C++ specific ones take precedence
Keyword - any keyword in any language
Literal - any literal (include strings, numbers, headers, ect...)
Operator - punctuation, symbols, ect... (+, -, comma, braces, ect...)
Preprocessor Keyword - #include, #define, ect...

[group 2]:
Number - any number literal (5, 0.6f, ect...)
String - any string literal ("bob", includes headers like <iostream>)
URL Hyperlink - used when it detects a comment is a hyperlink

[group 3]:
C/C++ User Keywords - no idea
- the documentation seems to says its for macro's, but it doesn't seem to work
C++ Class Templates - the class name of a class which has templates
- example in: template <typename T> class Bob {}; - BOB would be the 'Class Template'
- does not apply to normal class names
- example in: class Bob2 {}; - Bob2 is NOT a 'Class template'
C++ Enumerators - the items within an enumeration
- example in: enum Bob { one, two }; - one and two are enumerators
C++ Events - not sure
C++ Fields - member variables
- example in: class Bob { int a,b; }; - a and b are fields
- does not apply to static member variables
- does not apply to member functions
C++ Function Templates - the function name of a function template
- example in: template <typename T> void Func () {} - the Func would be the 'Function Template'
- does not apply to normal function names
- does not apply to template member functions
C++ Functions - non-template function names
C++ Labels - goto/jump labels
C++ Local Variables - any variable defined within a function
- includes nested local variables (ie. variables defined inside a lmbda function)
C++ Macros - the name of a macro definitions
- example in: #define BOB - BOB would be the 'User Keyword'
- includes both normal macros and function macros
C++ Member Functions - member functions
- includes template member functions
C++ Namespaces - namespaces, nothing special here
C++ Parameters - function parameters
- does not apply to template parameters
C++ Properties - not a clue
C++ Static Fields - static member variables
C++ Static Member Functions - static member functions
C++ User Types - user defined types (not all)
- class names, typedef's, typename and class template parameters
- does not include template class definitions, but includes their usage
- does not include functions
C++ variables - global variables

[group 4]:
Highlight Current Line (Active) - colors background of current line, when editor has focus
Highlight Current Line (Inactive) - colors background of current line, when menus or other windows have focus

[group 5, higest precedence]:
Selected Text - background color of selected text
- doesn't seem to completely replace background, seems to 'tint' it in some cases, not sure how this works exactly
Brace Matching (Highlight) - doesn't seem to work
Brace Matching (Rectangle) - brace matching background color
- only applies to {} and () but not <>
Highlighter Reference - colors background of similar identifiers
Excluded Code - does nothing
- by default the editor will 'darken' the excluded code (make it look more like the background)
- changing this value seems to have no effect on the default action

Attached Thumbnails

  • VSThemeCap.png


#44 tom_mai78101   Members   -  Reputation: 577

Like
0Likes
Like

Posted 11 October 2012 - 10:24 AM

Thanks to your notes, it has tremendously helped me.

Also, I would like to fill in a few blanks in your notes:

C/C++ User Keywords - User defined words.

How to define them:
1. Create a blank text file.
2. Type any words you want to define.
Example:
Date
3. Save the blank text file as "usertype.dat".
4. Open Windows Explorer.
5. Navigate to "(Visual Studio Installation Directory)/Common7/IDE"
6. Place "usertype.dat" in there.
7. Restart Visual Studio IDE of your choice. (If not opened yet, run VS IDE.)
8. Type the words you have defined and you should see them highlighted. Syntax must be correct.




C++ Events -

Possibly this:
http://msdn.microsoft.com/en-us/library/4b612y2s(v=vs.110).aspx


C++ Properties -

Possibly this:
http://msdn.microsoft.com/en-us/library/yhfk0thd(v=vs.110).aspx



Excluded Code - does nothing
- by default the editor will 'darken' the excluded code (make it look more like the background)
- To actually exclude inactive code:

1. In Visual Studio 2012, go to:
Tools -> Options -> Text Editor -> C/C++ -> Formatting
2. In the "Inactive Code" pane, change the "Inactive Code Opacity Percent" to your desired value.
3. Excluded codes will either disappear or reappear in the text editor.










#45 Ravyne   GDNet+   -  Reputation: 8064

Like
1Likes
Like

Posted 11 October 2012 - 12:45 PM

Regarding targeting XP, I've found this: Visual C++ Team Blog - Targeting Windows XP with C++ in Visual Studio 2012. I wonder if there has been any accomplishments in this area since the post was made, or what the current situation is.


There's a newer post about XP targetting here: CTP of Windows XP Targeting with C++ in Visual Studio 2012

#46 Chad Smith   Members   -  Reputation: 1141

Like
0Likes
Like

Posted 11 October 2012 - 01:09 PM

As a student at a University they automatically created me a nice Academic Institution Dreamspark Account. It's nice to be able get the professional edition and even upgrade the Windows OS for free. I right now love Visual Studio 2012. Though I haven't really done a big project with yet so I do not know how some of my libraries I have work with it yet.

#47 brx   Members   -  Reputation: 720

Like
0Likes
Like

Posted 11 October 2012 - 02:33 PM

There's a newer post about XP targetting here: CTP of Windows XP Targeting with C++ in Visual Studio 2012

Thanks alot for spotting this, I would have missed it. I still have to wait until I can convince my Boss that everybody should switch to VS2012 (which I am already using, I just switched the Platform Toolkit to 2009 - I love the new IDE!), since there are still major no-go's:

If static analysis is required, we recommend that you switch the solution to the normal v110 toolset, execute static analysis, and then switch back to v110_xp.

Yeah, static analysis in non premium/ultimate editions are the main issue that help me selling VS2012 to the Boss. Yes, switching back and forth would be an option, but I want the static code analysis to run (incrementally) whenever somebody triggers a build. I know my fellow developers. They would not switch back and forth just to run the analysis... I also want the static code analysis to run on our build-bots (jenkins) for every build (i.e. whenever somebody pushes new code or a snapshot build is triggered).

The Visual C++ 2012 Redistributables in “Microsoft Visual Studio 11.0\VC\redist\1033” have not been updated to include Windows XP support. For this preview release, please use static linking when targeting Windows XP or deploy the C++ runtime DLLs from “Microsoft Visual Studio 11.0\VC\redist\<architecture>” inside your executable’s installation folder.

That's an absolute no-go for shipping this to customer.

Also, this give the Qt developers the chance to update their code to comply with the VS2012 compiler... (it's not really Qt but Webkit that is acting up, though. If anyone's interested in the code to compile Qt 4.8.3 including Webkit with VS2012, PM me)

#48 Ravyne   GDNet+   -  Reputation: 8064

Like
0Likes
Like

Posted 11 October 2012 - 02:50 PM


There's a newer post about XP targetting here: CTP of Windows XP Targeting with C++ in Visual Studio 2012

Thanks alot for spotting this, I would have missed it. I still have to wait until I can convince my Boss that everybody should switch to VS2012 (which I am already using, I just switched the Platform Toolkit to 2009 - I love the new IDE!), since there are still major no-go's:

If static analysis is required, we recommend that you switch the solution to the normal v110 toolset, execute static analysis, and then switch back to v110_xp.

Yeah, static analysis in non premium/ultimate editions are the main issue that help me selling VS2012 to the Boss. Yes, switching back and forth would be an option, but I want the static code analysis to run (incrementally) whenever somebody triggers a build. I know my fellow developers. They would not switch back and forth just to run the analysis... I also want the static code analysis to run on our build-bots (jenkins) for every build (i.e. whenever somebody pushes new code or a snapshot build is triggered).

I'm not certain that static analysis works incrementally or not, it would seem to me that even if code changes were localized, they'd still bubble up through the rest of the application. Unfortunately, because of the incompatibilities between the SAL annotations, it's something that will have to be lived with. In general, while such attention to detail is a virtue, it seems more practical to just perform static analysis on the build server. Large projects can take quite a long time to analyze, and the variety of settings and tuneings thereof is probably something to keep centralized.

It's been years since I've used their static analysis thought, so I might be out of date.


The Visual C++ 2012 Redistributables in “Microsoft Visual Studio 11.0\VC\redist\1033” have not been updated to include Windows XP support. For this preview release, please use static linking when targeting Windows XP or deploy the C++ runtime DLLs from “Microsoft Visual Studio 11.0\VC\redist\<architecture>” inside your executable’s installation folder.

That's an absolute no-go for shipping this to customer.

Remember that what's discussed in the blog is just a Technical Preview, so some work-arounds are to be expected. By the time this is shipping "for real" in VS2012 Update 1, the redistributable files will be updated appropriately.

#49 tom_mai78101   Members   -  Reputation: 577

Like
0Likes
Like

Posted 14 October 2012 - 02:25 AM

It's nice to be able get the professional edition and even upgrade the Windows OS for free.


Like, how?

#50 Madhed   Crossbones+   -  Reputation: 3129

Like
1Likes
Like

Posted 14 October 2012 - 04:51 AM

Somehow I just can't come to terms with the new UI. :(

I mean, Microsoft has never been about visual design but this is just bad, MENU BAR, Y U SCREAM AT ME!?...

Guess I'll just have to adapt, will give it a few more tries.

#51 Ryan_001   Prime Members   -  Reputation: 1456

Like
2Likes
Like

Posted 14 October 2012 - 06:19 AM

Somehow I just can't come to terms with the new UI. Posted Image

I mean, Microsoft has never been about visual design but this is just bad, MENU BAR, Y U SCREAM AT ME!?...

Guess I'll just have to adapt, will give it a few more tries.


There's an easy reg edit to solve that: http://stackoverflow.com/questions/10859173/how-to-disable-all-caps-menu-titles-in-visual-studio-2012-rc

#52 tom_mai78101   Members   -  Reputation: 577

Like
0Likes
Like

Posted 14 October 2012 - 09:12 AM

For clarification, you have to "add" a new registry entry in the folder "General" in Registry Editor.

#53 EddieV223   Members   -  Reputation: 1407

Like
0Likes
Like

Posted 14 October 2012 - 07:25 PM

The caps menu's don't bother me but then again people using all caps while text chatting never bothered me either but some people can't stand it.

As for the eclipse shots, it is true that eclipse has a few more options for syntax highlighting. I actually think that eclipse is the most feature complete IDE in existence but it doesn't get as popular as some of the others because it's a biznich to setup and keep working. I recently gave it another try and had nothing but one weird issue after another with it and even when it works it's slow. If they could fix that, they'd have the best IDE with QT Creator and VS2012.

Until then I'm sticking with VS2012 for windows only apps, and QT creator as my main IDE for everything else including cross platform and GUI apps which QT excels at.

Edited by EddieV223, 14 October 2012 - 07:37 PM.

If this post or signature was helpful and/or constructive please give rep.

 

// C++ Video tutorials

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

// Easy to learn 2D Game Library c++

SFML2.1 Download http://www.sfml-dev.org/download.php

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


#54 Ryan_001   Prime Members   -  Reputation: 1456

Like
1Likes
Like

Posted 17 October 2012 - 07:54 AM

I was asked for my color theme in a private message, and since I can't figure out how to attach files (is it even possible?) I figured here is the next best spot.

Attached Files



#55 brx   Members   -  Reputation: 720

Like
0Likes
Like

Posted 27 November 2012 - 03:23 PM

The thread is more than a month old, I know, but I figured it's young anough to be brought back up:

The first update for VS2012 has been released, and .... (drum roll) ... it "enable(s) C++ applications to target Windows XP from Visual Studio 2012". Get it while it's hot: http://blogs.msdn.com/b/somasegar/archive/2012/11/26/visual-studio-2012-update-1-now-available.aspx


One question left: does this update work for the express version? I have the professional version installed so I can't test, but I'd still like to know, so I can tell others.... Anybody?

#56 phantom   Moderators   -  Reputation: 7555

Like
0Likes
Like

Posted 27 November 2012 - 04:16 PM

I've got 3 of the express editions installed and the update installed just fine for me.

#57 brx   Members   -  Reputation: 720

Like
0Likes
Like

Posted 27 November 2012 - 04:18 PM

Thank you! Now I can really press everybody to update from VS20008 before the upcoming release!

#58 Ryan_001   Prime Members   -  Reputation: 1456

Like
0Likes
Like

Posted 28 November 2012 - 03:05 AM

I updated to the CTP. Is this the same update or does this eclipse the CTP?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS