We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

New language support in MS Developer Studio 97

snemanov
snemanov asked
on
Medium Priority
227 Views
Last Modified: 2010-04-01
Hello!
How we can add highlighting, parsing and syntax expansion in MS Developer Studio 97 for a new language (Perl, for example).
Comment
Watch Question

Commented:
Read the "Setting Syntax Coloring for User-Defined Types" MSDN's article:
http://premium.microsoft.com/msdn/library/devprods/devdoc/f1/f3/d5/s1d865.htm 

Author

Commented:
Thank you for the answer. The mentioned source is refer to highlighting of additional tokens in C++.
We have our own rules for parsing and syntax expansion of another language and we should build it into Developer Studio 97.

Commented:
The only way I can think of, is to create your own editor, and have DevStudio use it whenever a file with appropriate extension is opened. AFAIK, there is no way to do what you want with simple config changes or even with DevStudio add-ins.
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Can I hook my own editor for my file extensions only (.pl for example) or the native editor will be replaced for the all file types?
Are internal debugging, fast reference/definition and other native editor features will be lost or should be written from scratch ?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.