This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Description Your environment
vscode-ruby version: 0.27.0
Ruby version: N/A
Ruby version manager (if any): N/A
VS Code version: 1.44.2
Operating System: Windows
Using language server? (eg useLanguageServer is true in your configuration?) not using language server
Expected behavior
inline if statement isn't highlighted and linked to an end statement
Actual behavior
Here is the code sample:
def openPlayer(albums)
id = read_integer_in_range("Enter album ID: ", 1, albums.length()) #Album ID selected
system("clear") || system("cls")
album = albums[id-1]
album.tracks.each {|track| puts track.name}
response = nil
while(true)
response = read_string("\nPlay Album? (y/n)") # Play album?
if(response == 'y')
playerGUI = MusicPlayerMain.new(album)
playerGUI.show if __FILE__ == $0 # Open the player GUI
break
elsif(response == 'n')
break
else
puts("Invalid Input")
end
end
end
Reactions are currently unavailable
Your environment
vscode-rubyversion:0.27.01.44.2WindowsuseLanguageServeris true in your configuration?)not using language serverExpected behavior
inline if statement isn't highlighted and linked to an end statement
Actual behavior
Here is the code sample: