A lot of code libraries are being made at the moment (OOP for example) where Macros are heavily used to generate Interfaces and so on...
It would be very very very very (x1000) nice if Autocomplete could take the expanded macros into consideration so that the code that will be generated will be parsed and included.
Dude wrote:To do that, you'd need your entire source to be constantly compiled while editing it. I doubt that will happen.
Well not really.. a feature to the current source parser could be added which does the macro expansion and just examines the resulting code for the same tokens as the current parser does
A complete overhaul would actually be nicer which responds just like most other IDEs where it's relevant to include files rather than just open files in the IDE, but I can imagine that'd be an even bigger task
Dude wrote:Bad description by myself: I didn't mean completely compiled, but rather syntatically (?) compiled as you edit. It's a big task, either way.
Of course, so I would suggest waiting for an Idle period to parse the code.. so for example, if no keystrokes detected for 2 seconds (when the dev takes a much needed coffee-refill break or rests their fingers) it can parse the file(s) that have been edited since last parse, with the cached results of the other files
This would be very nice. When programming Python in eclipse the IDE is parsing the code all the time and also underlines syntax errors when they occur and not when I compile. Of course there is more CPU power needed but not that much that you wouldn't be able to use the IDE normally.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.