Improving OCaml support #349
Replies: 6 comments 8 replies
-
documentation is available through classic Idea actions, like ctrl-q. no specific workflow involved, hence no specific entry in the readme, but it can be updated. |
Beta Was this translation helpful? Give feedback.
-
To summarize, my main goal is to be able to create a project with the wizard, and run a .ml file without any prior configuration, on IntelliJ+Windows. As in PyCharm/PHPStorm, there isn't something to set the SDK, it would have to be set in the Settings. In both cases, it means that we can call "ocaml" and "ocamlc". Either OCaml is installed locally (option to download OCaml) or installed globally. This is the same as we have for Java. I will use "ocaml" and try to link it with REPL classes And I will have to add another configuration that will run a .ml file. From my current understanding, I will have a lot of blockers (as each one seems difficult)
From what I understood, it would be better to test adding a new compiler first (to check that I can, etc.). Then I would move to other tasks. |
Beta Was this translation helpful? Give feedback.
-
though about a repl, and what is implemented is not good at all. I like how it's done in cursive (https://cursive-ide.com/userguide/repl.html#interaction-with-the-editor) where you can have a file opened and you can just send highlited code to the repl. |
Beta Was this translation helpful? Give feedback.
-
I'm following your advice and trying to use extensions. Hope this will work 🚀, as I'm not able to test on PyCharm/PHPStorm (simply changing IU to PY to use PyCharm is not working, I will test each feature on a new empty plugin) Inside IntelliJ, this is like this (empty for now) Another plugin inside PyCharm inside PHPStorm The plugin https://github.com/casteng/i-pascal Other notes,
I think I will explore what casteng did, It may greatly help this plugin. |
Beta Was this translation helpful? Give feedback.
-
Currently, I managed to make the SDK-related stuff work. I can
It took me a day 😭. I started with your project after removing almost everything (parsers, ...), and I added things little by little, as I'm just testing things. I have some school work, so I don't think I will be back before next week, I will try to push a mock repository after cleaning the code a bit. Next?
|
Beta Was this translation helpful? Give feedback.
-
Hi, I have worked on the sdk problem in #365 . facet is gone, only settings are used to select the switch: it then generates an external library: and that library is automatically added to the module to get indexation: Modules are not visible in minor IDE but they are still present. |
Beta Was this translation helpful? Give feedback.
-
This is a follow up of #348 . I want to improve the User eXperience for OCaml users [more details later].
Notes
After reading the code, I learned that there are classes related to odoc documentation. Maybe this would be a feature in README.md?
Beta Was this translation helpful? Give feedback.
All reactions