FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour UE Studio Config - Harbour 3.0, MSVC, FWH
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Wed Jan 15, 2020 07:55 PM

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

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Wed Jan 15, 2020 07:59 PM

With Fivedit you can run several .bat files depending on when you want them to run :D

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Thu Jan 16, 2020 12:14 AM

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
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Thu Jan 16, 2020 12:40 PM
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/UePacote.7z?t=ldkt6nxm

For any other questions, please contact me.
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Thu Jan 16, 2020 02:52 PM

Thanks Giovanny,
Where must I save the files includeds in 7z file ?

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Thu Jan 16, 2020 03:26 PM
Hi Vilian
The Harbour.uew file you define in the project in wordfiles.


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.
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Fri Jan 17, 2020 01:00 AM

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
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: UE Studio Config - Harbour 3.0, MSVC, FWH
Posted: Fri Jan 17, 2020 07:33 AM

Best skype chat
Skype giovany.vecchi

Continue the discussion