Over the years, I have been using various versions of Visual Studio as the IDE for my multi-file DM script projects. The code editor in GMS3 makes this less necessary, but VS provides very nice integration with Git source control, so it is very helpful in this way alone. Because DMS syntax is not too far off from C#, using VS for C# has worked fairly well in this way (with minor customizations). The latest version of Visual Studio seems to be a bit more finicky about what sort of files it will interpret as C# and it seems the best approach would be to add custom language support for DM Script to Visual Studio via a TextMate grammar file. I am about to generate such a file and would be willing to share it, once ready, but maybe someone already has created one or knows where to download one?
Is there a TextMate grammar for DM Script development with Visual Studio?
66 Views Asked by Mike Kundmann At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Dotnet Run is not working but the application is running in Visual Studio
- Is there a way to support Tailwind @apply in Visual Studio?
- How can I eliminate compile warnings using ZLib in Visual Studio
- C++(or Visual Studio) saving the file will not preserve the original file contents
- VS Community 2022 cannot install dotnet-ef when i try to publish
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022
- Migrate Old VS 2015 .suo file to the New VS 2022 DocumentLayout.json
- How to make one executable visual studio, that users can run?
- Use tabs instead of spaces in .csproj file in Visual Studio 2022
- Unity - scrollview/dragging breaks after specific scene inactivity
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
Related Questions in IDE
- Class disappears when switching from "Release" to "Debug"
- How can I transfer toolbar layouts between SSMS versions?
- GraalVM: Polyglot applications: Java classes in C++ IDE (including documentation, debug support etc.)
- What software can I use (if any) to embed URL links into a .mp4 file without paying for a subscription?
- How to fix lack of color contrast in VSCode selection tool?
- Spyder works, Anaconda cannot be opened
- Show all tabs and trailing spaces in Visual Studio 2022
- Using Azure DevOps Server 2022 (On-Premise) with Visual Studio Code for Java Project
- Git hooks in IntelliJ
- unable to integrate git in Intellij community version : Git is not installed Empty git --version output:
- I am getting this error using Eclipse : An error has occurred. See error log for more details. org/eclipse/egit/core/AdapterUtils
- After updating Visual Studio to v17.9.3 the IDE closes and dotnet.exe command reports Fatal error. Internal CLR error. (0x80131506)
- Are 'Two Normals' in VBA's project explorer a problem?
- No debugger via text IDE (Go32v2)
- "NoClassDefFoundError: org.bouncycastle.operator.OperatorCreationException when running Java code"
Related Questions in DM-SCRIPT
- Velox aborts experiment due to failure to acquire resource in DigitalMicrograph with custom code running
- Gaussian blur efficiency in dm-script
- Time elapse function to calculate the processing time of other function
- Any better way to show the text information than NewScriptWindow command
- Get the measured length from profile image
- How to remove the profile marker and close the corresponding profle image
- How to remove the text with the line annotation
- Why is ChooseMenuItem sometimes not working?
- The return value of TagGroupAddLabeledTagGroup
- For the label widget, is that possible to change the text alignment
- How to correctly create sub-dialogs from within dialogs?
- Specify the gtk file path when using InstallScript command
- Some questions about the relationship between panel and tab
- What's the usage of items when creating box, tab, or group
- How to get the angle of line annotation?
Related Questions in TEXTMATEBUNDLES
- How to include syntax checking in TextMate for MACOS?
- Is there a TextMate grammar for DM Script development with Visual Studio?
- Pb latex compilation with Textmate under OS Ventura 13
- setting up Textmate for latex on Mac OS 12.6
- Why does VSCode not highlight anything when I use this textMate?
- Syntax highlighting of unsupported language in WebStorm with TextMate bundle
- TextMate: Added custom syntax highlighting does not appear in list, so cannot be selected
- How can I fix Sublime Text's "Open all with current extension as..." feature?
- Match on full filename in Textmate bundle fileTypes section
- Adding Fortran syntax highlighting in Visual Studio 2017 via TextMate system
- Regular Expressions particualrs for VSCode Syntax Highlighting
- decreaseIndentPattern has no effect
- Syntax highlight static PHP functions in Visual Studio Code in a different color?
- Regex to select quote parameters
- How do syntax highlighting tools implement automated testing?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Although this answer does not provide a TextMate grammar for DM-script, it does share what I have found to be a very practical solution that does not require the addition of such a grammar. The solution is to adopt Visual Studio Code in place of the more specific Visual C# tools I have used in the past. I have only very recently come to realize that there are many benefits to using VS Code for DM-script projects (perhaps some followers of this tag have already discovered this years ago).
First of all, VS Code can be installed as a pure code-editing environment, without all the tools, options, and extra files required to build executables from specific types of source files (e.g. C#). This makes for a much simpler and more sensible IDE for DM-script, since all the building of (exectuble) script packages must ultimately be done within DM, anyway.
Secondly, VS Code is available in both Windows and MacOS versions since it does not inherently involve building targets for specific host operating systems. As far as I can tell, the Windows and MacOS versions of VS Code look and function identically. Even better, both are freely available to individual developers without charge.
Thirdly, although a basic installation of VS Code does not include build tools, it does still include the full integration with Git source control and the ability to link with remote repositories. (I have used it to link to existing remotes on both GitHub and Microsoft's Azure DevOps.)
Finally, and most importantly for the problem posed in this question, VS Code allows one to associate unrecognized files types to a specific language for the purposes of syntax highlighting, auto-completion, and code-folding. As mentioned above, treating DM-script as C# code works very well for these purposes and simply telling VS Code to treat files with a '.s' extension as C# activates all these nice code-editor features for DM scripts.
Below is a screenshot of one of my projects opened within VS Code: