Posted: Tue May 27, 2008 11:08 am
A global default for new projects would make more sense. An override might be confusing to the user when JaPBe still compiles to the local directory because of the source option.
http://www.purebasic.com
https://www.purebasic.fr/english/
jaPBe supports the following tool variables (from manual) :Mistrel wrote:I use these variables for some of my tools with the PureBasic IDE. It would be nice if JaPBe supported these so that they could be compatible.
Code: Select all
%PATH
The path of the current file.
%FILE
The file name inclusive the path of the current file.
%EXECUTABLE
This will be replaced by the name of the executable that was created in with the last "Create Executable" [F7].
For the "After Compile/Run" trigger, this will be replaced with the name of the temporary executable file created by the compiler [F5]/[F6].
Note : this parameter is only available for PB versions >= 4.10.
%TEMPFILE
The current source code is saved in a temporary file, and the filename is inserted here. You may modify or delete the file at will.
%COMPILEFILE
This is replaced with the temporary file that is sent to the compiler for compilation. By modifying this file, you can actually change what will be compiled
%CURSOR
This will be replaced by the current cursor position, in the form of LINExCOLUMN.
%WORD
Contains the word currently under the cursor.
%JAPBE
This will be replaced by the jaPBe main window handle.
%SCI
This will be replaced by the Scintilla window handle.
This is exactly what I meant with "global definition".A global default for new projects would make more sense.
added 'Create temp EXE in source dir' in project options
ouaip pareil !!Kukulkan wrote:Hi gnozal,
added 'Create temp EXE in source dir' in project optionsNot tested yet, but thank you very much!
![]()
Kukulkan
1. It noticed a delay with PB4.20 too if 'Load constants from residents' is enabled. If it is the case, disable it. I don't know why, no change in the code.Dummy wrote:In the latest version JaPBe hangs for several seconds while starting up. This slows down the general startup process of JaPBe what is really annoying when starting and closing JaPBe often as I do.
Please fix it (JaPBe Version 3.8.5.702)
1. I did notice that an hour after that post, too. But disabbling is not a real solution as I use the autocompletition feature very often for constants.gnozal wrote:1. It noticed a delay with PB4.20 too if 'Load constants from residents' is enabled. If it is the case, disable it. I don't know why, no change in the code.Dummy wrote:In the latest version JaPBe hangs for several seconds while starting up. This slows down the general startup process of JaPBe what is really annoying when starting and closing JaPBe often as I do.
Please fix it (JaPBe Version 3.8.5.702)
2. No other delay here. The PBCompiler pipe communication code in jaPBe hasn't changed either. Maybe something changed on compiler side.
3. The only change in startup code between build 701 and 702 is the PB version information in the title bar (displayed when PBCompiler is ready).
4. Btw, why do you need 'starting and closing JaPBe often' ?
Thanks for fixing itgnozal wrote:Update
Changes :
- fixed delay when starting jaPBe with PB4.20 and 'Load constants from residents' is enabled
Should be fixed.eriansa wrote:Latest update (with "Create temp exe in source directory) contains an annoyance : the editor (when using multi source files) allways reverts after compilation to the main file.
Code: Select all
Artist.s = ProgramParameter()
Album.s = ProgramParameter()
Title.s = ProgramParameter()
MessageRequester(#Null$, Artist + #CRLF$ + Album + #CRLF$ + Title)
Code: Select all
"Artist Name" "Album Name" "Song Name"
Code: Select all
Artist
Name"
Code: Select all
Artist Name
Album Name
Song Name