UE Studio Config - Harbour 3.0, MSVC, FWH

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

Postby Otto » Wed Jan 15, 2020 7: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby cnavarro » Wed Jan 15, 2020 7: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
User avatar
cnavarro
 
Posts: 6548
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

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

Postby vilian » 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
User avatar
vilian
 
Posts: 977
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

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

Postby Giovany Vecchi » 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.
User avatar
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

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

Postby vilian » Thu Jan 16, 2020 2: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
User avatar
vilian
 
Posts: 977
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

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

Postby Giovany Vecchi » Thu Jan 16, 2020 3:26 pm

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
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

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

Postby vilian » Fri Jan 17, 2020 1: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
User avatar
vilian
 
Posts: 977
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

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

Postby Giovany Vecchi » Fri Jan 17, 2020 7:33 am

Best skype chat
Skype giovany.vecchi
User avatar
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 44 guests