Hot!MPLAB-X Code Completion does not work with assembly-language source files

Author
jartim
Bit basher
  • Total Posts : 39
  • Reward points : 0
  • Joined: 2017/07/07 00:28:33
  • Location: 0
  • Status: offline
2017/09/13 03:51:50 (permalink)
0

MPLAB-X Code Completion does not work with assembly-language source files

The code-completion feature does not recognise any variables or identifiers in my assembler source code and there is no option in the option-settings for assembly language in the Code-Completion box (see "No assembler Code Folding.png" attachment.)
 
 
Is it possible for me to add this manually, and/or is it going to appear in a future update / release ?
 
 
It would be very nice to be able to use this feature as some of my source has many, many identifiers that are not always easy to remember. It would save lots of too-ing and fro-ing between source files trying to locate the correct spelling of an identifier or variable name!
post edited by jartim - 2017/09/13 04:06:01

Attachment(s)

Attachments are not available: Download requirements not met
#1

9 Replies Related Threads

    qhb
    Superb Member
    • Total Posts : 6255
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/13 06:36:13 (permalink)
    +1 (1)
    Which PIC family are you using?
    Are you using the assembler in "absolute mode" or "linking mode" (which is a roundabout way of asking how you are declaring your variables).
     
    #2
    jartim
    Bit basher
    • Total Posts : 39
    • Reward points : 0
    • Joined: 2017/07/07 00:28:33
    • Location: 0
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/13 07:11:59 (permalink)
    0
    Hi, qhb - PIC family 18F8527, code is written in absolute mode.
    #3
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 1473
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/13 07:55:23 (permalink)
    +1 (1)
    If you are coding asm, expect minimum interference from the editor.
     
    That is prefered.
     
    post edited by Gort2015 - 2017/09/13 07:58:12

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #4
    CinziaG
    you know what happen
    • Total Posts : 3138
    • Reward points : 0
    • Joined: 2016/12/07 14:20:36
    • Location: Wien
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/13 08:19:17 (permalink)
    0
    Gort2015
    ... minimum interference from the editor.
     
    That is prefered.
     



    it's *always* preferred wink

    some idiot blocked my other account (confirming that signature)
    Forget about me, microchip.
    #5
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 1473
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/13 10:01:41 (permalink)
    +1 (1)
    Hey, your spelling is better than mine. wink: wink

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #6
    CinziaG
    you know what happen
    • Total Posts : 3138
    • Reward points : 0
    • Joined: 2016/12/07 14:20:36
    • Location: Wien
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/13 13:31:21 (permalink)
    0
    grin
    I am good at proofreading. I also patented a "spelling-checker-email-quoter" i.e. I correct quoted text from other people when replying to their emails!!

    some idiot blocked my other account (confirming that signature)
    Forget about me, microchip.
    #7
    qhb
    Superb Member
    • Total Posts : 6255
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/13 13:34:39 (permalink)
    0
    jartim
    Hi, qhb - PIC family 18F8527, code is written in absolute mode.

    How are you declaring your variables?
    Just with EQU to memory addresses, or using CBLOCK?
     
     
     
    #8
    jartim
    Bit basher
    • Total Posts : 39
    • Reward points : 0
    • Joined: 2017/07/07 00:28:33
    • Location: 0
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/14 02:56:22 (permalink)
    +1 (1)
    My variables are mostly declared using "EQU".
    I agree with minimal interference from the editor, however I don't class it as interference when I purposely hit Ctrl-Space to enable a completion list; in this case I am asking the editor to 'interfere'.  Anyway, my issue is that the option isn't given in the option-settings page and I would like to be able to add it manually if possible.
    #9
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 1473
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: MPLAB-X Code Completion does not work with assembly-language source files 2017/09/14 09:54:01 (permalink)
    +1 (1)
    That's because most people use C than complicated ASM.
    If you have your equates/data/bss grouped together, just copy and past.
     
    Have that cloned opened side by side.

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #10
    Jump to:
    © 2017 APG vNext Commercial Version 4.5