|
|
That one is definitely going on my to watch list.
// TODO: Insert something here Top ten reasons why I'm lazy
1.
|
|
|
|
|
Oh my, I had no idea they made a live-action adaptation of that anime
|
|
|
|
|
If you like it, you might like the short films of "Dust" (there are a lot of them)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
It appears that the .NET 5 Windows Forms library contains a Task Dialog component.
Here's the Docs[^]
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
The Win32 libraries have had it for years.
|
|
|
|
|
|
Officer: The victims were dismembered and sacrificed on an altar made of antlers.
Detective: Dear God
Officer: Most likely yes.
The less you need, the more you have.
Even a blind squirrel gets a nut...occasionally.
JaxCoder.com
|
|
|
|
|
|
Deerly yes
modified 12-Nov-21 2:53am.
|
|
|
|
|
|
Nice pun, it's worth a buck.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I don't have that much Doe on me!
Sometimes things ARE as bad as they seem.
|
|
|
|
|
I think the answer lies in this TextMate mess but everything I've found is incomprehensible or incomplete.
Preferably I'd like it to also work with VS Code. I think the TextMate stuff does but I'm not sure as I don't know where to begin, with even finding a good place to read and start with it.
This is a Visual Studio and VS Code question and I have no good place to put it.
Real programmers use butterflies
|
|
|
|
|
|
It's fine, but I want it to support my own file formats, namely XBNF and RL
I'm looking primarily to target VS rather than VS Code at first, and then take advantage of any overlap but I'll check that out. Thanks.
Real programmers use butterflies
|
|
|
|
|
For your own file formats you could write a small external tool and add it to VS with the external tools manager.
I have a log analyser where I load the plain text to a rich text box.
For each wanted color I have a list with keywords.
A simple function formats the content of the rich text box.
Then after formatting the text it shows the desired result.
|
|
|
|
|
Yeah, I already have an app that syntax highlights, and frankly it works better than a rich text box.
I'm really hoping for something more integrated, and wedging my app in in place of an actual native-VS editor because I don't know how to use TextMate seems less than ideal. I'm looking over some of the VS code links, and I hope that stuff transfers to VS. I think they both can use TextMate, although VS has another thing you can use too that's code based.
Real programmers use butterflies
|
|
|
|
|
Do your own file formats contain Program Code or what kind of data?
|
|
|
|
|
Grammars and lexer specs.
The grammars are an attributed variation of EBNF format called XBNF
The lexer specs are my own format, and it's basically attributed name value pairs where the values are either regex expressions or string literals.
Real programmers use butterflies
|
|
|
|
|
Can the VS Editor open/read your files with ParentGrammars and lexer specs?
And would you know a way to add your own highlighting rules to VS / VS Editor?
|
|
|
|
|
To your first question, I don't think so.
To your second question, that's exactly what I'm asking about in the OP.
Real programmers use butterflies
|
|
|
|
|
You wrote earlier:
I want it to support my own file formats, namely XBNF and RL
So you could add those files to your VS project and when it appears in the Project Explorer, try to open it.
|
|
|
|
|
Yes, I already do that. It opens them as plain text files. Why would it do otherwise? It has no way of automatically discerning the syntax. Are you having a go at me?
Real programmers use butterflies
|
|
|
|
|
The easy part is to get syntax highlighting for alternate file extension:
https://stackoverflow.com/questions/21499143/how-to-get-syntax-highlighting-for-alternate-file-extension-for-visual-studio-20
Go to Tools -> Options -> Text Editor -> File Extension And type your alternative extension And then associate it with your editor (e.g. Microsoft Visual C++)
The challenge is to add your custom highlighting list to VS / VS Editor!
|
|
|
|