• AVR Freaks

Hot!How to turn off parsing of source code and other non-necessary stuff

Author
dimonomid
Super Member
  • Total Posts : 217
  • Reward points : 0
  • Joined: 2011/02/24 02:46:17
  • Location: 0
  • Status: offline
2014/10/19 08:53:04 (permalink)
4 (2)

How to turn off parsing of source code and other non-necessary stuff

I use external editor, so I completely don't need for luxuries that MPLABX offers like highlighting and the like; but I need to use it for debugging, and parsing of projects significantly slows down the whole IDE (on large files, I often need to kill -9 it)
 
I also don't need for any kind of VCS integration
 
Unfortunately I can't find options for that. How to turn these features off? I need only build and debug stuff, nothing more.

The story: How I ended up writing new real-time kernel: TNeo.
Microchip data sheet finder: allows to easily get latest revision of the datasheet by its id like "DS61118".
#1

7 Replies Related Threads

    annapolis
    Administrator
    • Total Posts : 1808
    • Reward points : 0
    • Status: offline
    Re: How to turn off parsing of source code and other non-necessary stuff 2014/10/19 14:03:21 (permalink)
    +1 (1)
     
    You can try these Options from Main menu - Tools:
    Miscellaneous - Files - Enable auto-scanning of sources
    Also:
    C/C++ tab - uncheck selected Highlighting
    Editor - Code Completion
     
    Most of this feature is leveraged from NetBeans.
    https://netbeans.org/bugzilla/show_bug.cgi?id=226849
    #2
    dimonomid
    Super Member
    • Total Posts : 217
    • Reward points : 0
    • Joined: 2011/02/24 02:46:17
    • Location: 0
    • Status: offline
    Re: How to turn off parsing of source code and other non-necessary stuff 2014/10/21 01:02:46 (permalink)
    0
    annapolis
    You can try these Options from Main menu - Tools:
    Miscellaneous - Files - Enable auto-scanning of sources
    Also:
    C/C++ tab - uncheck selected Highlighting
    Editor - Code Completion

    Thanks, I unchecked all of this, but unfortunately it didn't help: MPLABX anyway parses my project when I open it.

    The story: How I ended up writing new real-time kernel: TNeo.
    Microchip data sheet finder: allows to easily get latest revision of the datasheet by its id like "DS61118".
    #3
    m_alizd
    New Member
    • Total Posts : 30
    • Reward points : 0
    • Joined: 2016/02/28 02:21:37
    • Location: 0
    • Status: offline
    Re: How to turn off parsing of source code and other non-necessary stuff 2020/01/14 19:03:35 (permalink)
    0
    Hi All,
     
    I have the reverse problem, i.e. your problem would be solution for me.
    I have conditional compiling in a few project files based on a defined constant shared through header includes across all those files. If I change the value of the constant where it's defined, conditional code highlighting gets adjusted accordingly but only in the same file. All the conditional code in other files of the project remain intact as if I haven't changed the constant value at all. Closing and opening the project does not solve the problem. Recompiling does not solve the problem. Killing and relaunching the IDE I guess solves it as well as me making a dummy change in every file upon which the code highlighting gets adjusted. Then I undo the dummy change and save the files. It's annoying and frustrating as hell!
    This used to work OK just a few months ago and now it is not.
     
    All the highlighting checkboxes in Options\Editor\Highlighting are checked.
    Enable Auto-scanning of sources checkbox is ticked in Options\Misc\Files
     
    Anyone knows how can I get IDE do this automatically as it used to?
    Cheers
    Matt
    #4
    ric
    Super Member
    • Total Posts : 25101
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: How to turn off parsing of source code and other non-necessary stuff 2020/01/14 19:20:18 (permalink)
    +1 (1)
    Try:
    Right click on the project
    "Code Assistance"
    "Reparse Project"

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #5
    PStechPaul
    Super Member
    • Total Posts : 2478
    • Reward points : 0
    • Joined: 2006/06/27 16:11:32
    • Location: Cockeysville, MD, USA
    • Status: offline
    Re: How to turn off parsing of source code and other non-necessary stuff 2020/01/14 22:32:36 (permalink)
    +1 (1)
    Clean and built might also work.

     
    #6
    m_alizd
    New Member
    • Total Posts : 30
    • Reward points : 0
    • Joined: 2016/02/28 02:21:37
    • Location: 0
    • Status: offline
    Re: How to turn off parsing of source code and other non-necessary stuff 2020/01/15 03:52:25 (permalink)
    0
    Fantastic, the "Reparse Project" works!
    Will try to find out why it doesn't work automatically as it used to before, maybe there is a solution.
     
    PS: Clean and build does not make any difference, neither closing and opening the project.
    Thanks
    post edited by m_alizd - 2020/01/15 16:07:18
    #7
    m_alizd
    New Member
    • Total Posts : 30
    • Reward points : 0
    • Joined: 2016/02/28 02:21:37
    • Location: 0
    • Status: offline
    Re: How to turn off parsing of source code and other non-necessary stuff 2020/01/15 16:08:37 (permalink)
    +1 (1)
    PStechPaul
    Clean and built might also work.


    That's the first thing I tried but do not work
    #8
    Jump to:
    © 2020 APG vNext Commercial Version 4.5