UE Studio Config - Harbour 3.0, MSVC, FWH

User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by Otto »

Hello,
I got from IDM an answer:

Hello Otto,

Thank you for your message. By default, Cmd1 would wait for Cmd0 to complete and there's nothing you can add that would change behavior at this level. I asked one of our developers about this and he said the problem is likely with what is occurring in the batch file you're calling. If that process returns immediately then the next command would be initiated.

Thanks, Troy

Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by cnavarro »

With Fivedit you can run several .bat files depending on when you want them to run :D
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by vilian »

Hi Guys,

How could I config the UE Studio to show FWH syntax highlighting? Is it possible ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by Giovany Vecchi »

For years I created a UEW the way I wanted. Most to work you have to follow some rules in the prgs source code.
The problem that occurs in uestudio is the delimited folders. As harbor language follows a style of exit procedure with random RETURNS, you will have to follow these rules.
Following in the examples below I will discriminate white spaces with the character +
Every function should start without spaces, for example:

FUNCTION MYFUNC () //> Correct
+++ FUNCTION MYFUNC () //> wrong
In the case of RETURN you also have to follow the rule to close the function or procedure or method.

Example 01
FUNCTION MYFUNC ()

RETURN NIL //> Correct

Example 02
FUNCTION MYFUNC ()

+++ RETURN NIL //> wrong, will not close function correctly

Now for when to use RETURNS in the range of functions:
Example 03 is wrong
FUNCTION MYFUNC ()
IF VAR == 0
RETURN .F. //> there will be a break in the function here
ENDIF
RETURN .T.

Example 04 is correct
FUNCTION MYFUNC () // start without leading spaces
+++ IF VAR == 0 // With spaces
++++++ RETURN .F. //> All returns with spaces are ignored
+++ ENDIF
RETURN .T. // No leading spaces

This UEW has many harbor functions that will be displayed simultaneously as you type.

SECOND STEP
The UETMPLTE.TPL file has almost all Fivewin commands. Replace it from UeStudio in GROBAL templates.
To work just start typing according to the names of the templates. Example for the Fivewin DIALOG command.

type: _fw_dialog

Download the compressed file at this link: https://filebin.net/ybxc3cfbwp0o02b8/Ue ... t=ldkt6nxm

For any other questions, please contact me.
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by vilian »

Thanks Giovanny,
Where must I save the files includeds in 7z file ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by Giovany Vecchi »

Hi Vilian
The Harbour.uew file you define in the project in wordfiles.
Image

It is the global template file you edit the file and paste the contents of UETMPLTE.TPL that is on 7z or replace it with uestudio.
Image
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by vilian »

Thanks Giovanny,

The first file i have installed with sucess and the syntaxhighlithing is perfect now. The second file I didn't understand where i must put its content.
I'm also not having sucess to use auto complete resource of UE.

Could you help me ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: UE Studio Config - Harbour 3.0, MSVC, FWH

Post by Giovany Vecchi »

Best skype chat
Skype giovany.vecchi
Post Reply