Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Disable Assits++ scan on certain files
Re: Disable Assits++ scan on certain files [message #51272 is a reply to message #50716] Tue, 26 February 2019 22:13 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 736
Registered: November 2008
Location: France
Contributor
Hello,

I took some time to find out why it doesn't work in my case, and I think I found a candidate
//$+ and //$- work when parsing the code of a file
But .... the list of files is extracted from the package files and file #include without taking into account the //$+ and //$-
The function that does this extract seems to be (Is this correct ??) : ide/Browser/Base.cpp
BaseInfoSync(Progress& pi)


So the following code does not behave as I expected : I thought the includes (and the included files) would not be processed by assist++
//$-
#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_fusion.hpp>
#include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/spirit/include/phoenix_object.hpp>
#include <boost/spirit/include/phoenix_bind.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/variant/recursive_variant.hpp>
#include <boost/foreach.hpp>
//$+


Maybe the file should be preprocessed by :
CppBase/Pre.cpp
SrcFile PreProcess(Stream& in, Parser& parser)

Before extracting the list of files to be processed by Assist++

[Updated on: Tue, 26 February 2019 22:37]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Versioning support (hack-ishly solved)
Next Topic: [Linux] Tooltips and pop-up windows don't disappear when TheIde is losing focus
Goto Forum:
  


Current Time: Fri Aug 29 04:24:23 CEST 2025

Total time taken to generate the page: 0.05915 seconds