Jump to content
  • Advertisement
Sign in to follow this  
ExErvus

Custom Intellisense rules

This topic is 931 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it possible to create a custom intellisense rule in visual studio? Not a custom rule set, but actual logic with branching using some sort of scripting and code analysis? A google search would suggest this is not possible, not because I found an answer, but the lack of an answer.

Share this post


Link to post
Share on other sites
Advertisement

Thank you for the feedback.

 

Just out of curiousity, what is it that you want to change?

I was looking into implementing a coding standard to help form a paradigm for my project. There are a lot of little nuances that can define the overall quality/performance/correctness of code, and I was looking into experimenting some of my own "ideas" of programming style. Wanted to enforce them via the compiler if possible. More of a side project than anything.

Share this post


Link to post
Share on other sites


I was looking into implementing a coding standard to help form a paradigm for my project. There are a lot of little nuances that can define the overall quality/performance/correctness of code, and I was looking into experimenting some of my own "ideas" of programming style. Wanted to enforce them via the compiler if possible. More of a side project than anything.

In that case you may want to look at "Code Analysis" under project preferences. It is available at least since VS2012 (I don't have any older one installed to check).

You can fine-tune the rule set to your liking and set any issues to create errors rather than warnings at compilation. Any violations can be suppressed in code with justification message so they are highly visible in any code review process.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!