Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-11 Thread Dan Kelosky
You can add the HLASM extension that I worked on (or any other VS Code 
extension) alongside IBM Z Open Editor / Zowe Explorer ( 
https://marketplace.visualstudio.com/items?itemName=Zowe.vscode-extension-for-zowe)
 today. 

It would be cool if https://github.com/IBM/zopeneditor-about contained the 
source code to allow 3rd party contributions instead of just issue tracking :)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Dan Kelosky
It is JSON syntax, so I think you'd want something like this.
{
"editor.wordWrapColumn": 120,
"[HLASM]": {
"editor.rulers": [
71,
72,
80
]
}
}

You can use external tools to validate JSON: https://jsonlint.com/ 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Dan Kelosky
I think so.  If you open the "command pallet" via Ctrl + Shift + P, then type 
in "Open Settings (JSON)", you can paste this in the top:

...
"[hlasm]": {
"editor.rulers": [
71,
72,
80
],
},
...

There's a graphical way to set this, but it's too complicated :).  This assumes 
the file extensions ends with one of:
".hlasm",
".asm",
".s",
".asmpgm",
".mac",
".asmmac"

Take care,
Dan

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Editing HLASM source with Visual Studio - columns 73-80

2019-12-10 Thread Dan Kelosky
VS Code doesn't really allow "overtype" via insert key: 
https://github.com/microsoft/vscode/issues/1012

You can use this though: 
https://marketplace.visualstudio.com/items?itemName=adammaras.overtype

Or, blow away sequence numbers as another suggested :)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN