Open ratnamGT opened 1 week ago
Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.
Hey @ratnamGT, It seems like the file was not uploaded properly to the issue. 😢
Curious if you are using the Z Open Editor or Zowe Explorer.
Either way, which VSCode extension are you using for previewing the HTML file in VSCode?
I'm using george-alisson.html-preview-vscode
😋
Hi @zFernand0 Thanks for your response . I am using Zowe editor to open and preview HTML file. I have also installed george-alisson.html-preview-vscode extension . The first issue is ,HTML file is not opening by default in ISO8859-1 encoding ,I need to select encoding each time on HTML file . second issue is ,it is not previewing and opening the file in VScode browser. It is opening in external brower
Hey @ratnamGT, I believe I might be able to help.
The first issue is ,HTML file is not opening by default in ISO8859-1 encoding ,I need to select encoding each time on HTML file .
To avoid doing this, you can change the USS File Tag to ISO8859-1.
BuildReprt.html
fileEdit Attributes
Tag
attribute on the displayed formApply changes
After you have done this, the file should open in ISO8859-1 by default 😋
second issue is ,it is not previewing and opening the file in VScode browser. It is opening in external brower
There are a few things that can be causing the HTML file to be opened on a browser by default. It is possible that some OS configuration might be forcing VSCode to do so. Another way is based on the keybindings defined in VSCode. For example,
ctrl/cmd + Shift + V
should open in VSCodectrl/cmd + K
then W
will open the HTML in a browser.
Please confirm that there aren't any conflicts in the keyboard shorcuts
I have BuildReprt.html file in Mainframe USS which I am opening from Zowe Editor . I am not able to open it in browser directly from here. Could you please suggest how it can be opened in in-built browser in Zowe editor in VS code. Attaching the screenshot. ![Uploading builreport screenshot from zowe editor.png…]()