I know that there is no "official" support from Jetbrains. How can I workaround this? I just need a syntax highlighting level of support for ruby.
Thanks in advance.
I know that there is no "official" support from Jetbrains. How can I workaround this? I just need a syntax highlighting level of support for ruby.
Thanks in advance.
Follow the instructions in this blog post: http://blog.jetbrains.com/idea/2010/09/custom-file-types-in-intellij-idea/
I've followed that process myself to setup custom syntax highlighting for both Velocity Template Language and JavaScript files, and am just about to do the same for Ruby.
I followed @TheGraeme's suggestion and added this configuration for Ruby (which i have no idea of, I only need it for the Podfile in XCode for my Flutter app) in my current Android Studio Version.
Here is the list of Keywords that I took from this list: https://www.geeksforgeeks.org/ruby-keywords/
BEGIN
END
__ENCODING__
__FILE__
__LINE__
alias
and
begin
break
case
class
def
defined?
do
else
elsif
end
ensure
false
for
if
in
module
next
nil
not
or
redo
rescue
retry
return
self
super
then
true
undef
unless
until
when
while
yield
Sure there is here an official technical support.
You can find ruby
plugin for IntellJ IDEA
here
Btw, first I thought you were using RubyMine
, there you can set the auto-completion by going to File | Settings - IDE Settings - Editor - Code completion, so you could try to find what's up in this path for IntelliJ IDEA
© 2022 - 2024 — McMap. All rights reserved.