Solved

New language support in MS Developer Studio 97

Posted on 1998-08-16
5
187 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).
0
Comment
Question by:snemanov
5 Comments
 
LVL 4

Expert Comment

by:agreen
Comment Utility
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
0
 

Author Comment

by:snemanov
Comment Utility
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.
0
 
LVL 5

Expert Comment

by:yonat
Comment Utility
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.
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 300 total points
Comment Utility
I don't think you can do it with their editor, but you can get pretty close (probably so most users won't notice).

MS Dev Studio supports ActiveX documents. If you write your editor as an ActiveX document server, your editor will appear as part of Developer studio.

Now you're probably saying - doesn't that mean I have to write my own editor (meaning hardwork) - yes but you can buy a pretty much complete editor with customizable syntax checking etc. from Stingray ("Objective Edit") - go to
http://www.stingsoft.com/oemfc/default.asp

Create your ActiveX document editor with the wizard, add this in ("The Frankenstein method of programming") are you've got pretty close to what you want.

One final comment, I heard an MS rep say (Sep 97 in the conference in San Diego) that new versions of Dev Studio would have features to make them extensible (apparently they've had a lot of compliants).  Dev Studio 6 is officially out September, and I don't see it on the what's new list, so not sure but perhaps they have more in there.

0
 

Author Comment

by:snemanov
Comment Utility
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 ?
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now