Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Keep user settings for IDE, CodeTyphon, etc. 9 years 3 months ago #6700

  • Alexandr
  • Alexandr's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 62
  • Thank you received: 2
Greetings!

After each updating I'm need rebuild typhon IDE into Bin, reconfigure it, install a lot of self-written components, download nd build some toolchains, and etc.
These work want many time.

Can you implement feature that will be keep Typhon IDE settings, downloaded and compiled toolchains, libraries in some custom path?

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 9 years 3 months ago #6702

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Sir
we will try to add User settings Back-up function
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Alexandr

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 9 years 3 months ago #6705

  • Alexandr
  • Alexandr's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 62
  • Thank you received: 2
Where Typhon IDE stores own settings?

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 9 years 3 months ago #6706

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Open CTC => Folders page
ALL CodeTyphon Studio Settings is here:



CTC has in Tools Page and "Settings Editor"


PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Keep user settings for IDE, CodeTyphon, etc. 8 years 11 months ago #7522

  • Alexandr
  • Alexandr's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 62
  • Thank you received: 2
Greetings again :)

KISS principle is winning, again :laugh:

I see that CTS supports user scripts, here what I write today:
Backup script xx_Typhon_Settings_Backup.bat:
REM ctusersctript:Backup Typhon IDEs settings
@ECHO OFF
REM ----------- Check for Bitness------------------
Set _BITNESS=64
IF %PROCESSOR_ARCHITECTURE% == x86 (
  IF NOT DEFINED PROCESSOR_ARCHITEW6432 Set _BITNESS=32
  )  
REM ----------------------------------------------- 

ECHO.
ECHO --------------------------------------------------
ECHO        Backup Typhon Current IDE Setings
ECHO --------------------------------------------------

IF NOT EXIST "..\UserData" (
mkdir "..\UserData"
)

REM @@@@@@@@@@@@@@@@@@@@@@@@@@@@ For Win32 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IF NOT EXIST "%APPDATA%\typhon32" (
ECHO [ERROR]: Typhon32 not installed. Nothing to buckup.
ECHO.
EXIT
)

IF EXIST "..\UserData\typhon32" (
del /f/s/q "..\UserData\typhon32" > nul
rmdir /s/q "..\UserData\typhon32"
)

IF NOT EXIST "..\UserData\typhon32" (
mkdir "..\UserData\typhon32"
)

xcopy /E /R /Y %APPDATA%\typhon32\*.* "..\UserData\typhon32"

ECHO [INFO]: Backup Typhon32 Settings finish
ECHO.
REM @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ For Win64 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


if %_Bitness% == 32 (
EXIT
)

IF NOT EXIST "%APPDATA%\typhon64" (
ECHO [ERROR]: Typhon64 not installed. Nothing to buckup.
ECHO.
EXIT
)

IF EXIST "..\UserData\typhon64" (
del /f/s/q "..\UserData\typhon64" > nul
rmdir /s/q "..\UserData\typhon64"
)

IF NOT EXIST "..\UserData\typhon64" (
mkdir "..\UserData\typhon64"
)

xcopy /E /R /Y %APPDATA%\typhon64\*.* "..\UserData\typhon64"
ECHO [INFO]: Backup current Typhon64 Settings finish
ECHO.

REM @@@@@@@@@@@@@@@@@@@@@@@@@@@@@

EXIT

Restore backuped data xx_Typhon_Settings_Backup_restore.bat:
REM ctusersctript:Restore backuped Typhon IDEs settings
@ECHO OFF
REM ----------- Check for Bitness------------------
Set _BITNESS=64
IF %PROCESSOR_ARCHITECTURE% == x86 (
  IF NOT DEFINED PROCESSOR_ARCHITEW6432 Set _BITNESS=32
  )  
REM ----------------------------------------------- 

ECHO.
ECHO --------------------------------------------------
ECHO       Restoring backup of Typhon IDE Setings
ECHO --------------------------------------------------

IF NOT EXIST "..\UserData" (
ECHO [ERROR]: Nothing to do here. You never did buckup of IDE settings.
ECHO.
EXIT

)

REM @@@@@@@@@@@@@@@@@@@@@@@@@@@@ For Win32 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

IF EXIST "%APPDATA%\typhon32" (
del /f/s/q "%APPDATA%\typhon32" > nul
rmdir /s/q "%APPDATA%\typhon32"
)

IF NOT EXIST "%APPDATA%\typhon32" (
mkdir "%APPDATA%\typhon32"
)

xcopy /E /R /Y ..\UserData\typhon32\*.* "%APPDATA%\typhon32" 

ECHO [INFO]: Restoring backup of Typhon32 Settings is finished.
ECHO.
REM @@@@@@@@@@@@@@@@@@@@@@@@@@@@@ For Win64 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


if %_Bitness% == 32 (
EXIT
)

IF EXIST "%APPDATA%\typhon64" (
del /f/s/q "%APPDATA%\typhon64" > nul
rmdir /s/q "%APPDATA%\typhon64"
)

IF NOT EXIST "%APPDATA%\typhon64" (
mkdir "%APPDATA%\typhon64"
)

xcopy /E /R /Y ..\UserData\typhon64\*.* "%APPDATA%\typhon64" 

ECHO [INFO]: Restoring backup of Typhon64 Settings is finished.
ECHO.

REM @@@@@@@@@@@@@@@@@@@@@@@@@@@@@

EXIT

Scripts also attached.

Unix users: sorry, I don't know the unix shell to write scripts for yours.

Woud be nice if CTS developers integrate script into CTStudio as works restore settings script(original) and very good if before updating CTS will ask user to do or not do that.

Place *.bat from ScriptsWin folder in attachment, to the c:\codetyphon\ScriptsWin folder.
Restart CodeTyphon Studio, use scripts)
Attachments:

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 8 years 11 months ago #7523

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Thanks Sir
we will check and report
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 8 years 8 months ago #8069

  • Bernard
  • Bernard's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Hi,
As I just reinstall CT twice, and I need to install it on an over PC, each time, I have to change manually the tabulation length, and the color of the editor......
I have a look at the files Typhon setting 32 et 64 bits, of course there is a lot of things, but I don't found colors informations (may be I missed then !)
and I found paths for important files that I don't want to change.
Where could I found visual parameters of the IDE (colors, tabs, autosaving, windows layout...) ?
Many thanks for help and saving my time.
By exemple I like to copy visuals setting of CT 64 on CT 32...

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 8 years 8 months ago #8070

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Sir
this ability we try to put now in CT 5.5 Final Release,
ALL Desktop Options to one file
so, the user can save and load later or
load to other Typhon IDE, ALL Multi-Desktop Options

Lab Status for this Task , is now at 80%
give us time, it's NOT so simple...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Keep user settings for IDE, CodeTyphon, etc. 8 years 8 months ago #8072

  • Bernard
  • Bernard's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
I really expect in CT 5.5 !!! :laugh: :laugh:

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 8 years 8 months ago #8073

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
The other Lab task for today
is CT on Arm-Linux as host OS
4 people here working (Play) on this task.

Debian arm , Ubuntu arm, Raspbian, QEMU 32/64 on Linux, QEMU 32/64 on Windows
aarch64-linux with QEMU ? how ? which OS image ?

a programming mesh... :) but we love this....
and we are Having Fun...
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: frederico augusto marques

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Keep user settings for IDE, CodeTyphon, etc. 8 years 7 months ago #8144

  • Bernard
  • Bernard's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Hi Sternas
I just downloaded CT 5.5.
2 week ago you said :

Sir
this ability we try to put now in CT 5.5 Final Release,
ALL Desktop Options to one file
so, the user can save and load later or
load to other Typhon IDE, ALL Multi-Desktop Options

Lab Status for this Task , is now at 80%
give us time, it's NOT so simple...


Did you succes to put all IDE options in a file ?
I don't see any thinks in the menu ? :blush:
May be it's not the finale release.

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 8 years 7 months ago #8148

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Sir
Now in CT 5.5 ALL Desktop Options are saved in environmentoptions.xml file, at Typhon "user" directory
You can Import/Export ALL Desktop Options with Desktop Manager Dialog





PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Keep user settings for IDE, CodeTyphon, etc. 8 years 7 months ago #8151

  • Bernard
  • Bernard's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Nice job, I'll try it !:woohoo:
Many thanks

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 8 years 7 months ago #8154

  • Bernard
  • Bernard's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
I test export and import of the desktop :blush:
How I do it :
I open typhon 64
I adjust colors of the editor, autosaving of source ....... and I change the layout of the windows.
Then in the Manage Desktop window I export to a file my desktop.
I open Typhon 32, and I inport my file desktop.
Nothing change, I have'nt my colors in the IDE and the layout don't change.
I have a look in the xml file and I don't found any of the datas I expect. ?

Please Log in or Create an account to join the conversation.

Keep user settings for IDE, CodeTyphon, etc. 8 years 7 months ago #8155

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Sir
save active desktop (xml) of "Source" Typhon IDE
then simple Import this file from "target" Typhon IDE from any OS
Set as default imported desktop to "target" Typhon IDE
Sometimes must restart "target" Typhon IDE

Screens from Windows 10 Typhon64 to Linux Mint Typhon 64

PS: please don't forget, it's the first release with this ability....
this Software Technology it's NOT so simple programming task...
.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Keep user settings for IDE, CodeTyphon, etc. 8 years 7 months ago #8169

  • Bernard
  • Bernard's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Hi,
I apologise for using your time ! but I want to understand.
May be it's the way I use that is wrong.
If uses the record button to record the desktop in the desktop manager, I only have to give a name.
I don't know where and how the desktop is recorded. screen copy.
To inport the desktop I pick a copy of the file environmentoptions.xml as you tell me.
But as I said in previous post I don't see colors informations in this file by exemple.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1