Quest Editor
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Quest Editor
Daggerfall quest editor for VS Code
A VSCode extension that brings support for Tipton's Template scripting language for Daggerfall.
Daggerfall Quest Editor on Nexus Mods
A VSCode extension that brings support for Tipton's Template scripting language for Daggerfall.
Daggerfall Quest Editor on Nexus Mods
Last edited by TheLacus on Tue Jun 25, 2019 2:48 pm, edited 25 times in total.
- Deepfighter
- Posts: 138
- Joined: Sun Mar 22, 2015 10:24 am
- Location: Iliac-Bay
- Contact:
Re: Syntax highlighting
Personally, I think that this change is very helpful and would be probably highly appreciated. At least for translating reasons it's helping a lot. The current quest editor for translating quests has the same and can't imagine it without.
+1 from me
+1 from me
Head of the German Daggerfall translation - www.daggerfalldeutsch.de
and German translator for The Elder Scrolls V: Skyrim and Lore-Expert for The Elder Scrolls: Online
and German translator for The Elder Scrolls V: Skyrim and Lore-Expert for The Elder Scrolls: Online
- Jay_H
- Posts: 4073
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Syntax highlighting
As a quest writer I am very interested in this.
- Interkarma
- Posts: 7251
- Joined: Sun Mar 22, 2015 1:51 am
Re: Syntax highlighting
This is a smart idea!
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Syntax highlighting
Thank you for feedback! I've update first post with installation instructions.
@Deepfighter
I'll give a look at translation editor, thank you for pointing that out.
@Deepfighter
I'll give a look at translation editor, thank you for pointing that out.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Syntax highlighting
Added highlighting and snippets for Visual Studio Code.
- Jay_H
- Posts: 4073
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Syntax highlighting
I installed it, but I don't have any highlighting on my end (except where I highlight some word with the mouse and it repeats the highlighting elsewhere). Is there some missing step?
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Syntax highlighting
You can change language from the language indicator on the bottom-right corner. Select 'dftemplate'. Extension is .txt so this can't be done automatically (unless you want it for all text files).
- Hazelnut
- Posts: 3016
- Joined: Sat Aug 26, 2017 2:46 pm
- Contact:
Re: Syntax highlighting
line 35 of dftemplate.tmLanguage has a typo:
This is duplicated a few times. Is this correct for the VS code file? Anyway, found it while messing with trying to get an Atom grammar definition by converting yours. They seem to both be TextMate based so the info is same, but Atom wants a json/cson file instead.
I found a converter that turns .tmLanguage into .cson but it doesn't recognise the 'match' key annoyingly, that would be a real easy way to auto generate atom highlighting.
Code: Select all
<key>1</ley>
I found a converter that turns .tmLanguage into .cson but it doesn't recognise the 'match' key annoyingly, that would be a real easy way to auto generate atom highlighting.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- Jay_H
- Posts: 4073
- Joined: Tue Aug 25, 2015 1:54 am
- Contact:
Re: Syntax highlighting
It's working now, and magnificently. Thank you TheLacus!