jaPBe 3.13.4 [IDE for PB 4 and PB 5]
Moderator: gnozal
It work with F5, F6 and F7
Codepage and Compileroption must be set!
Codepage and Compileroption must be set!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update
Changes :
- added folding for Import[C]/EndImport
- fixed combobox height in 'jaPBe - Preferences' dialog 'Skin' tab
Changes :
- added folding for Import[C]/EndImport
- fixed combobox height in 'jaPBe - Preferences' dialog 'Skin' tab
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update
Changes :
- new folding style options in Files\Preferences\Style/Editor, with plus/minus boxes and circles like in the PB IDE (if activated, source loading takes more time).
It was difficult to implement, because jaPBe's coloring routines don't handle all the scintilla markers needed for this, I had to add some markers of my own...
Changes :
- new folding style options in Files\Preferences\Style/Editor, with plus/minus boxes and circles like in the PB IDE (if activated, source loading takes more time).
It was difficult to implement, because jaPBe's coloring routines don't handle all the scintilla markers needed for this, I had to add some markers of my own...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hi Gnozal,
I am one of jaPBe greatest fans. It is a tool that makes it so much easier to focus on the goal I'm trying to acheive than having to focus on the tool I'm using to acheive the goal. I appreciate your efforts in making this excellent tool even better.
I have a suggestion that would make jaPBe even better; I realise jaPBe not your main concern, but if its not a difficult addition how about this feature?
To tidy up a block of hastily written code we currently highlight it and press Cntrl+TAB... everything gets indented to follow the structure of the program. This is one of jaPBe great strengths.
If I press SHIFT/Cntrl/TAB the same thing happens but all the comments on lines with source code are indented to match the comment of the first line of the block.
For me this would be productive because I often ghost out a new new bit of code by typing the functions as comments and then put the code in afterwards.
I am one of jaPBe greatest fans. It is a tool that makes it so much easier to focus on the goal I'm trying to acheive than having to focus on the tool I'm using to acheive the goal. I appreciate your efforts in making this excellent tool even better.
I have a suggestion that would make jaPBe even better; I realise jaPBe not your main concern, but if its not a difficult addition how about this feature?
To tidy up a block of hastily written code we currently highlight it and press Cntrl+TAB... everything gets indented to follow the structure of the program. This is one of jaPBe great strengths.
If I press SHIFT/Cntrl/TAB the same thing happens but all the comments on lines with source code are indented to match the comment of the first line of the block.
For me this would be productive because I often ghost out a new new bit of code by typing the functions as comments and then put the code in afterwards.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
@RichardL : sorry, I don't understand what you mean.
Could you provide a code example (in forum code tags), before and after code reformating by your requested feature ?
Could you provide a code example (in forum code tags), before and after code reformating by your requested feature ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hi gnozal,
Here is an example of what I mean...
I am a great beleiver in 'tidy looking code'. I have to maintain code that is several years old and a tidy layout is a great help to 'getting back into' old code.
Here is an example of what I mean...
Code: Select all
; Untidy code
For x = 1 To 100 ; Do 100 times
a.f = Sqr(x) ; Find the root
If a < 5
Beep_(1000,10)
EndIf
Next ;Loop
End
; After highlighting and pressing Cntrl+TAB. Standard jaPBe feature
For x = 1 To 100 ; Do 100 times
a.f = Sqr(x) ; Find the root
If a < 5 ; Small enough?
Beep_(1000,10)
EndIf
Next ;Loop
End
; After highlighting and pressing SHIFT+Cntrl+TAB. Nice to have!
; All comments on lines with code are set to same column as the first line
For x = 1 To 100 ; Do 100 times
a.f = Sqr(x) ; Find the root
If a < 5 ; Small enough?
Beep_(1000,10)
EndIf
Next ; Loop
End
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Update
Changes :
- new autoindent alternative [Ctrl+Shift+Tab] : like Ctrl+Tab but all comments on lines with code are set to same column as the first line
Example :
Before
After Crtl+Tab
After Ctrl+Shift+Tab
Changes :
- new autoindent alternative [Ctrl+Shift+Tab] : like Ctrl+Tab but all comments on lines with code are set to same column as the first line
Example :
Before
Code: Select all
; Untidy code
For x = 1 To 100 ; Do 100 times
a.f = Sqr(x) ; Find the root
If a < 5
Beep_(1000,10)
EndIf
Next ;Loop
End ; End
Code: Select all
; Untidy code
For x = 1 To 100 ; Do 100 times
a.f = Sqr(x) ; Find the root
If a < 5
Beep_(1000,10)
EndIf
Next ;Loop
End ; End
Code: Select all
; Untidy code
For x = 1 To 100 ; Do 100 times
a.f = Sqr(x) ; Find the root
If a < 5
Beep_(1000,10)
EndIf
Next ;Loop
End ; End
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).