What WinAPI functions should I consider when building my own IDE?

0
3
Asked By CodingWizard42 On

I'm in the process of creating a custom IDE from the ground up to cater to the unique features of my programming language. While I'm already familiar with a couple of functions like RegisterClass and CreateWindowEx, I'm looking to expand my knowledge. Can anyone provide me with a general list of other Windows API functions I should incorporate?

3 Answers

Answered By CodeNinja21 On

Just a thought, but learning JSON could really help you out if you're going to manage syntax highlighting. Many existing tools and libraries rely on it, so grasping the basics could save you a lot of time down the line.

Answered By LangDesignPro On

Before you invest too much time into creating your own language, think about why you need so many keywords. You'd be surprised—many programming languages have extensive keyword sets, like HTML, and are still manageable. Plus, if your IDE is designed well enough, you might find you don't need as many keywords as you think!

Answered By TechGuru88 On

You might want to reconsider building an entire IDE from scratch. Writing an extension for an existing IDE could be a more efficient route. Check out the Visual Studio Code documentation on creating syntax highlighting. They use TextMate for this purpose, and if you need more complex highlighting, you might want to explore using an LSP server with TreeSitter for incremental parsing. This could help you handle a larger set of keywords effectively.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.