Focal Point
[CLOSED] column numbers in AppStudio text editor

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4917057096

September 07, 2018, 01:23 PM
sh98110
[CLOSED] column numbers in AppStudio text editor
We are newly on 82 and AppStudio, and I know in this day and age it is uncool to admit we still write code, but I wandering if anyone has found a column number indicator in the AppStudio text editor (you know, like DevStudio had).

Thanks in advance.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
September 07, 2018, 01:54 PM
BabakNYC
I'm afraid App Studio is missing that feature. It has the line numbers in the text editor but no column number. I suggest you add your name to the list of users who've asked for this to be added in by opening a case with IB Tech Support and requesting a new feature.

P.S. It's totally cool to code. Half the stuff I do can't be done in the GUI and the ability to add code makes WebFOCUS that much more robust. Smiler


WebFOCUS 8206, Unix, Windows
September 07, 2018, 05:10 PM
sh98110
Babak, thanks for the confirmation, and have a great weekend.


WebFOCUS 8
Windows, All Outputs
September 09, 2018, 05:03 PM
Waz
Another option is to use an external editor, many have been suggested in previous posts.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

September 10, 2018, 02:05 PM
Hallway
My advice would be to use an external editor. The editor that I use and suggest is Visual Studio Code. The beauty of VS Code is that there is a WebFOCUS Extension, created by Venkata Paruchuri, that you can add to it that provides syntax highlighting, snippets, and intellisense.

VS Code is a powerful, feature rich code editor that is gaining real momentum in the developer community. It includes in the bottom right of the window, the line and col ( Ln#, Col# ) of the cursor position that you are looking for. Some of my favorite out of the box features in VS Code are multi-line cursor (edit multiple lines of code and the same time), theme options, and Auto Save. Not to mention the huge amount of extensions available for it.

You can set up AppStudio to work in conjunction with VS Code (or any other code editor) by going to AppStudio > Options > General and at the bottom of that section change the Default file editor to "Edit in Windows registered tool" and make sure that the "Sync with WebFOCUS" checkbox is checked. Then you need to associate in windows, the file extensions (.fex and any others that you may want) to open with VS Code. Then when you double click a file in AppStudio, the code will open in VS Code and you can edit it there. Any saved changes you make in VS Code will be synced with AppStudio, and saved to the Repository.

I hope that this helps you as much as it has help me and my team.


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
September 10, 2018, 05:22 PM
Waz
quote:
Visual Studio Code.


Have you had any issues with Visual Studio Code ?

I know that some editors have caused zero length files, and opening the same names files from different locations can cause the one to overwrite the other.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

September 11, 2018, 11:24 AM
Hallway
quote:
I know that some editors have caused zero length files, and opening the same names files from different locations can cause the one to overwrite the other.


I haven't experienced either of these. The only issue that I have found is an AppStudio one. I've been having issues with AppStudio authentication with the reporting server (case opened for a few months now and IBI cannot figure it out) and sometimes I get a seemingly random authentication error within AppStudio. Then the file that I have open in VS Code will no longer save and I have to close down AppStudio, the file in VS Code and reopen both.


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
September 11, 2018, 01:47 PM
Doug
So, what's the best Text Editor for App Studio (82+), Ultra Edit? Visual Studio Code? Other?

Ref: http://forums.informationbuild...117067096#4117067096
September 11, 2018, 05:17 PM
Waz
For me its EditPlus, been using it for nearly 20 years.

I even uploaded syntax highlighting files to there user files area. (Um, er, in 1999 Cool) Should update it again.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

September 12, 2018, 11:25 AM
sh98110
I use Notepad++, which has a lot of nice features, though I miss TextPad. But- I have never been able to make the final leap because I find having the RUN button available for incremental changes too alluring.

Regarding Babak's comment- Hey Chuck: how about if Focal Pointers get their OWN Enhancements list, instead of having to open a case?

Just Thinking out loud... Smiler


WebFOCUS 8
Windows, All Outputs
September 12, 2018, 11:41 AM
FP Mod Chuck
Steve

I will check out that possibility...


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
September 17, 2018, 12:05 PM
FP Mod Chuck
Your suggestion has been sent up the line before but upper management has not approved this change. Sorry.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats