View previous topic :: View next topic |
Author |
Message |
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Thu Jan 04, 2018 8:36 am Post subject: Automatic formatting of the code |
|
|
Happy new year to all!
I reinstalled the bascom but the automatic formatting of the code in the editor does not work anymore ...
how can I solve it?
(BASCOM-AVR version : 2.0.8.1 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Thu Jan 04, 2018 10:28 am Post subject: |
|
|
You come up with a problem, but there is nothing to support it.
No screen shot of the settings, no xml settings file , no test file or steps how to reproduce.
Did you reboot after the installation?
'dont change case' should be unchecked and 'reformat code' should be checked.
I tried it and it works as usual. _________________ Mark |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Thu Jan 04, 2018 10:52 am Post subject: |
|
|
I have activated 'reformat code' and now it is better but some liee of code in italics ...? |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Thu Jan 04, 2018 11:08 am Post subject: |
|
|
dont you read any of the release notes
please reead the history or 'what is new' in the help. _________________ Mark |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Thu Jan 04, 2018 11:28 am Post subject: |
|
|
dear Mark I read the release notes ...
this: "- The editor supports jump to implementation: hold CTRL key and hover mouse over an identifier.
Use CTRL + BACKSPACE to jump back "
but it does not speak of italic written or wrong ...? |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Thu Jan 04, 2018 11:52 am Post subject: |
|
|
change something if I change the "dead code color" settings ...
I noticed that if I change the line a few times it is displayed correctly ...
? |
|
Back to top |
|
|
EDC
Joined: 26 Mar 2014 Posts: 971
|
Posted: Thu Jan 04, 2018 12:34 pm Post subject: |
|
|
Unused code is a "Dead Code" please disable this function in EDIT->Show Dead Code if you dont need it
"Svocb Alias Pinc.1" became "not dead" if somewhere in the code you use this alias. For example "If Svocb = 0 Then.." |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Thu Jan 04, 2018 12:48 pm Post subject: |
|
|
OK thanks...
but how do you explain that when I changed lines, was it okay? |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Thu Jan 04, 2018 1:31 pm Post subject: |
|
|
After not editing for some seconds, on the background the code is processed and then when turned on, dead code is shown.
This option is put under the EDIT menu since these options are intended to be used when you are done with the project.
When you activate it during editing the project you will experience recoloring of the code which can be annoying. _________________ Mark |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Thu Jan 04, 2018 2:06 pm Post subject: |
|
|
|
|
Back to top |
|
|
|