Click here to Skip to main content
15,891,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day everyone,

We are working on a project where we are developing a C-based coding environment and would like to add reliable IntelliSense. We are looking for recommendations for either an open-source or paid element that we can add to the C Windows forms project and or later to an ASPX based application.

Thanks

What I have tried:

We have tried web searches and evaluated reviews, but are also looking for recommendations
Posted
Updated 15-Apr-21 4:13am
Comments
Richard MacCutchan 15-Apr-21 9:46am    
Visual Studio and VSCode already provide it. Why reinvent the wheel?
SeanChupas 15-Apr-21 10:02am    
It sounds like it is a project they are working on and would like to learn.
Richard MacCutchan 15-Apr-21 10:31am    
"and would like to learn"
Well that would be a refreshing change for QA.

1 solution

This isn't something you "bolt on" after you develop your IDE. Doing that, you get something like what Notepad++ did. It's basically a database of words that your code sees in the document and a list of keywords in the language of the document you're working on, like a file with a .c extension adds C keywords to the database.

To do this better than that, you really need to completely redesign how you represent your editor document. In Visual Studio, what you see on screen is your normal test editor. How the document is represented internally is not text, object quite an extensive object graph, representing all kinds of data on every word in the document. Combine that with knowledge of how each language expects in its format, you generate context information for each character position in the document and can filter the list of words shown based on the context the cursor is in and what has already been typed.

That isn't something you can bolt on after you've written your editor.
 
Share this answer
 
Comments
HavenTech 15-Apr-21 15:27pm    
Hi Dave,

Thank you for your response.

We are in the scoping phase of the project which is why we are putting the question out there to see what kind of feedback we would get. We are not a large, experienced, or well-funded dev team but we do have a strong intention to do this project well and get a tool out there that won't fall flat.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900