JuliaEditorSupport / julia-intellij

:computer: Julia Plugin for IntelliJ IDEA ┗:smiley:┛ ┏:smiley:┓ ┗:smiley:┛
GNU General Public License v3.0
297 stars 29 forks source link

Variable Explorer - Data Explorer - VarInfo - Julia SciView #433

Closed Sinansi closed 4 years ago

Sinansi commented 4 years ago

Hello,

I have installed Julia plugin version 1.2.0 on PyCharm (2019.2.3) and Intellij (2019.2.3). Unfortunately, the variable explorer does not appear on either of them. There is an error message displayed on JuliaSciView saying "variables are not available". According to the images on your plugin webpage, the plugin is capable of displaying variable explorer (VarInfo Workspace) as well as plots. But that doesnt work for me.

ice1000 commented 4 years ago

What plot library are you using? Are you sure you're working with the debugger (which tells the IDE your local variables' values)?

Sinansi commented 4 years ago

Dear Ice,

Thanks for your reply! I came from Python background, of which I did not need to be in debug mode in order to display the variable explorer or plots. But from your reply, I assume in Julia I must be in debug mode. Am I correct? Is this related to the fact that Python is interpreted language and Julia is compiled language?

Thank you!

ice1000 commented 4 years ago

No, there need to be something to tell intellij your variables' values, and that's the debugger. If we query your variables all the time, that'll block your actual execution and slow your program down a lot.

ice1000 commented 4 years ago

For plots, you'll need to be using matplotlib to see'em (and no debug mode needed, because your ploy lib is already telling the IDE your plot). Plot display is made by @zxj5470, you may ask him