|
|
Re: Build Output Parser - no rebuild [message #1823062 is a reply to message #1822991] |
Thu, 19 March 2020 03:00 |
ND OpenCode Messages: 2 Registered: March 2020 |
Junior Member |
|
|
I understand that. My question is there a way to rescan the build output when you change a setting in the language provider?
Because I get different behavior from:
File
Folder
Project
and also heursitic. And since each build takes 20 minutes, having to clean and rebuild is a time consuming process just to figure out each setting. It would be a lot simpler if it just re scanned the build output each time the setting changes.
I would like to understand the nuances as its not immediately clear given that only Folder works - and I can't figure out what File and Project is because of that. There is a pattern that is not immediately obvious.
I also am wondering why have these three different options? Seems like configuration that could be eliminated with different approach to the implementation.
[Updated on: Thu, 19 March 2020 03:04] Report message to a moderator
|
|
|
Re: Build Output Parser - no rebuild [message #1823064 is a reply to message #1823062] |
Thu, 19 March 2020 04:50 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
I'm guessing the answer is NO.
There is a dialog to select when the scanner is called:
Project --> Properties --> Builders
It has limited events to select from.
One of them is "After a clean".
You might try a makefile with a vacant "clean" target until a time when you really need it.
You still would have to figure out how to set the console log to a previous value.
The scanner is just looking at the command lines in the log.
You could try running the make in dry mode. (-n or --dry-run flags).
You probably would need the -B flag, too.
It causes make to think a clean has been run.
OR, examine the java code to find out how it is run.
You might be able to assign a shortcut to it.
I'm not sure what you mean by File, Folder and Project.
If you mean the options at the bottom of the Provider dialog for the Build Output Provider,
then those are where the results are stored.
I don't understand your confusion.
Frankly though, wouldn't it be simpler to find all of your included headers then search for where they are stored? A small perl script shouldn't take that long.
If by "heuristic", you mean the "Allow heuristic resolution of Includes",
that is Indexer option unrelated to the Build Output parser.
I keep it enabled along with "Index source files not included in build".
The Build Output parser looks for paths and macros on the compiler command lines.
It's mostly telling the Indexer where the includes might be found and little else.
If you actually meant the checkbox in the Build Output parser dialog
labelled Use heuristics to resolve paths then according to the help files:
Quote:
Use heuristics to resolve paths
The provider will try to find the best match for the discovered path in the project or workspace trying several heuristics. If disabled, the discovered paths will stay as they appear in build output.
I suspect there's more to your issue that you are omitting.
[Updated on: Thu, 19 March 2020 05:07] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03115 seconds