GRAPHISOFT / vscode-gdl

Development environment for Archicad GDL language.
https://marketplace.visualstudio.com/items?itemName=GRAPHISOFT.gdl
Other
17 stars 3 forks source link

language doesn't remain set to GDL-XML #10

Open tkreplerfjc opened 6 months ago

tkreplerfjc commented 6 months ago

Type: Bug

Hi, Since the latest update of Visual Studio, when I set GDL-XML for a certain tab, after switching to another tab and back the language defaults back to "plain" XML. GDL-HSF is retained as a language. Thanks, Tony

Extension version: 1.27.1 VS Code version: Code 1.89.1 (Universal) (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:14:24.611Z) OS version: Darwin arm64 22.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 Max (12 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|2, 2, 4| |Memory (System)|64.00GB (12.38GB free)| |Process Argv|--crash-reporter-id 0a53a0ed-5d2d-4dc0-80c9-ed6208186bc9| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 tftest:31042121 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 0ee40948:31013168 pythoncenvpt:31043157 pythonprc:31039816 dwnewjupytercf:31039676 ```
pbaksa commented 6 months ago

Hi,

tkreplerfjc commented 6 months ago

Szia Peter,

Koszi, hogy megnézted! Beleirom a válaszokat alább a kerteseid közé.

(Van egyébként éppen egy kifejezetten GDL-es problémám is - kurdhetem?)

Mégegyszer nagyon köszönöm!

Udv,

Toni

Regards,

Tony Krepler Design Technology Lead - Building Information Modelling

[https://fjcstudio.com/logo_fjcstudio_fjmt.png]https://fjcstudio.com/ Level 5, 70 King Street, Sydney NSW 2000 t + 61 2 9251 7077 w fjcstudio.comhttps://fjcstudio.com/ architecture / interiors / landscape / urban / place We acknowledge the traditional custodians of the country on which we work, and recognise their continuing connection to land, waters and culture. Francis-Jones Carpenter Pty Ltd ABN 28 101 197 219. Nominated architect Richard Francis-Jones 5301. Elizabeth Carpenter 6141. This message is subject to copyright and sent in accordance with our email policy.

On 13 May 2024, at 5:38 pm, Baksa Péter @.***> wrote:

Some people who received this message don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Hi,

It doesn’t matter wether the document is saved to the disk, or not. The problem appears with any xml I set to gdl-xml. And previously it worked even without saving, too.

Again, it didn’t matter before what the first lines were. What should they be? Thanks.

I only know the status bar button (and now, that you mentioned, I was looking for it in the menu as well, but could not find anything. No command in the context menu either on my side. Perhaps I haven’t mentioned clearly, that I am working in the MacOS version (Ventura 13.6.6, latest Visual Studio Code)

"[xml]": { "workbench.editor.languageDetection": false }

I tried it, but didn’t make a difference.

*

— Reply to this email directly, view it on GitHubhttps://github.com/GRAPHISOFT/vscode-gdl/issues/10#issuecomment-2106862828, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBLURYYFX6UNCE2TGQHG6J3ZCBUYZAVCNFSM6AAAAABHP2LC42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWHA3DEOBSHA. You are receiving this because you authored the thread.Message ID: @.***>

pbaksa commented 6 months ago

Again, it didn’t matter before what the first lines were. What should they be? Thanks.

It should be what LP_XMLConverter writes when converting from gsm to xml. Something like

<?xml version="1.0" encoding="UTF-8"?>
<Symbol IsArchivable="false" IsPlaceable="true" MainGUID="F2E00B3E-0ADB-4E2D-B19B-4E8CB995E360" MigrationValue="Normal" Owner="0" Signature="1196644685" Version="40">
tkreplerfjc commented 6 months ago

Peter,

Thank you for your reply. I think it is the new release of Visual Studio Code.

XML files generated by the LibDev Toolkit, are working perfectly well.

I just used VSC to to make it easier to code in GDL, and the language setting was working on new files from scratch before the update. Now they only work if I set GDL-HSF. Not a big issue, just a very slightly annoying workaround.

Yet, I’d really appreciate if VSC would be fixed, i.e. work the same way as before.

Many thanks agin.

Regards,

Tony Krepler Design Technology Lead - Building Information Modelling

[https://fjcstudio.com/logo_fjcstudio_fjmt.png]https://fjcstudio.com/ Level 5, 70 King Street, Sydney NSW 2000 t + 61 2 9251 7077 w fjcstudio.comhttps://fjcstudio.com/ architecture / interiors / landscape / urban / place We acknowledge the traditional custodians of the country on which we work, and recognise their continuing connection to land, waters and culture. Francis-Jones Carpenter Pty Ltd ABN 28 101 197 219. Nominated architect Richard Francis-Jones 5301. Elizabeth Carpenter 6141. This message is subject to copyright and sent in accordance with our email policy.

On 16 May 2024, at 4:39 pm, Baksa Péter @.***> wrote:

Some people who received this message don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

Again, it didn’t matter before what the first lines were. What should they be? Thanks.

It should be what LP_XMLConverter writes when converting from gsm to xml. Something like

<?xml version="1.0" encoding="UTF-8"?>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.***>