Page 1 of 1

Visual Studio Code

Posted: Mon Sep 23, 2019 8:21 pm
by Iris Gesser
Dear Antonio,

is it correct, that there is no compiling needed fo mod_harbour?
Can I just make changes in the PRGs and save them?
I have downloaded Visual Studio Code today and added "Harbour and xHarbour from Antonino Perricone" for the Syntax.
I am not familiar with the Setup of Visual Studio Code and at the moment do not know how to do it, that everything works fine...

Is it really possible to just modify PRGs without compiling and the changes are made? Just saving?
Today I tried with a sample-file. Just added "Iris" and it was there in the localhost…
GREAT!!
What about Projects, that work in that way? Is this possible?
Is there a difference if the Server runs locally or if it is online?

Thank you in advance and kind regards
Iris

Re: Visual Studio Code

Posted: Tue Sep 24, 2019 5:57 am
by Antonio Linares
Dear Iris,

So nice to talk again with you. I am very happy that you are using mod_harbour

Yes, there is no need to compile the mod_harbour PRGs (mod_harbour does it automatically!) and also there is no need to build EXEs (we go back to early dBase days) :-)
As you said, you just save the changes and you are done!

Start using vscode (Visual Studio code) and get used to it. It is a very good source code editor that runs all ALL operating systems (Windows, Mac, and Linux).
You will realize that mod_harbour will "free" us from Windows also. You may use it from an Apple computer (my favourites!) so Windows will start to vanishing
along you go deeper into mod_harbour.

We are going to publish full MVC (Model-View-Controller) projects using mod_harbour real soon. These are the "projects" that we are going to use. In a few days
you will start learning them. They are absolutely fantastic! :-)

The mod_harbour apps work the same on a local server or a remote server, anyhow it is a good practise to test your apps the both ways
so you know that it behaves properly on both scenarios.

Please feel free to make any questions about mod_harbour. I guess that you are the first Lady using mod_harbour and
it is a honor for all the mod_harbour community that you are joining us :-)

Re: Visual Studio Code

Posted: Tue Sep 24, 2019 2:56 pm
by vilian
Antônio,
Do you know how to change the CHARSET of VSCode to PT-Br ?

Re: Visual Studio Code

Posted: Wed Sep 25, 2019 5:09 am
by Antonio Linares
Vilian,

no, sorry

Re: Visual Studio Code

Posted: Wed Sep 25, 2019 11:22 am
by vilian
Thanks, I found it. The charset can defined in files.encodding. To keep the compatibility with MED I choose windows1252