randy3k / radian

A 21 century R console
MIT License
2.02k stars 76 forks source link

How to use options in VSCode? #268

Open quadans opened 3 years ago

quadans commented 3 years ago

I dont have a .radian_profile so I dont know where to put all the options like _options(radian.editingmode = "vi") in. Google doesnt help

randy3k commented 3 years ago

You will need to create it under your home directory or the working directory.

quadans commented 3 years ago

Home or Working directory of what? VScode has none

francisbarton commented 2 years ago

@quadans what operating system are you using? If you are using Windows then your home directory is probably C\:Users\YOURUSERNAME or whatever echo $HOME gives you at the prompt. Just create the .radian_profile file in that directory and add your options lines in that file.

kebuAAA commented 1 year ago

@quadans what operating system are you using? If you are using Windows then your home directory is probably C:Users\YOURUSERNAME or whatever echo $HOME gives you at the prompt. Just create the .radian_profile file in that directory and add your options lines in that file.

I tried this but it seemed that nothing happened.😭 Nothing happened when I added options(radian.color_scheme = "autumn") to the %USERPROFILE%/.radian_profile file. Is there anything wrong?

francisbarton commented 1 year ago

@kebuAAA I don't know enough about it really, but I note that 'autumn' isn't one of the built-in styles in pygments (pygments.org/styles). Does your options line work if you use a built-in style like 'monokai' or 'lightbulb'?

kebuAAA commented 1 year ago

@kebuAAA I don't know enough about it really, but I note that 'autumn' isn't one of the built-in styles in pygments (pygments.org/styles). Does your options line work if you use a built-in style like 'monokai' or 'lightbulb'?

It works! Thank you for your help