Trying to get ruby's functionlist to work with .cr files
-
Hi everyone! I’m a crystal dev and I’m fiddling around with C:\Users\Nick\AppData\Roaming\Notepad++\functionList.xml and found the ruby associate id part:
<association id= "ruby_syntax" langID="36" />In fact, the functionList expressions work great for .cr files too, the problem is, notepad++ doesn’t detect when I’m editing a .cr file to apply the ruby functionList rules.
I read online you could add a ext attribute like so:
<association id= "ruby_syntax" ext=".cr" langID="36" />But when editing a .cr file it still doesn’t apply, any help is appreciated!
-
The extension-based function list hasn’t worked since it was changed in late 2020 in v7.9.1
If you want *.cr to be associated with Ruby, then go to Settings > Style Configurator > Ruby and add
crto the user-extension list. (And that worked even before v7.9.1) -
Roger. Thanks so much PeterJones, have a great rest of your week!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login