dschwen / autocomplete-moose

Atom.io autocomplete-plus provider for MOOSE (http://mooseframework.org) input files
3 stars 1 forks source link

autocomplete-moose on windows #17

Open andrembcosta opened 4 years ago

andrembcosta commented 4 years ago

Dear developers,

I have been trying to install this package in a Windows system but it is giving me some strange error messages. I am wondering whether this might be an issue with my computer or if this package is Linux/Mac only.

best regards.

dschwen commented 4 years ago

This plugin in untested on Windows. It will be hard to get it working properly as the syntax definition is obtained by running a MOOSE executable! This ensures that you alway get the most up to date and correct syntax definitions including your custom objects. Building a Windows executable is currently work in progress and highly experimental.

dschwen commented 4 years ago

I'm working on a new release that enables getting from WSL MOOSE executables. It allows you to open input files from \\wsl$\[distro]\home\[user]\... and seamlessly get autocompletion data from an automatically discovered MOSOE executable in WSL.

andrembcosta commented 4 years ago

Hi Daniel, thanks for making this change. It will be very helpful. I installed the plugin succesfully, however it can't find my executable.

I tried to add the path to it in the plugin settings, but it still says it cant find it.

image

dschwen commented 4 years ago

How did you build your executable in that location?!

dschwen commented 4 years ago

Also see above, the location needs to be in the WSL container \\\wsl$\...

andrembcosta commented 4 years ago

I downloaded an application called windows terminal which seems to simulate a linux terminal and followed all the steps to install moose on it. I am trying to find the wsl container but it seems that I don't have it.

dschwen commented 4 years ago

Do you have a link?

On Thu, Jun 18, 2020, 6:54 PM andrembcosta notifications@github.com wrote:

I downloaded an application called windows terminal which seems to simulate a linux terminal and followed all the steps to install moose on it. I am trying to find the wsl container but it seems that I don't have it.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dschwen/autocomplete-moose/issues/17#issuecomment-646376974, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABRMPXKLU3XNECXIAZULPLRXKZOFANCNFSM4NZRFEIA .

dschwen commented 4 years ago

Ah, I think you're running WSL1 while I developed for WSL2. Not sure I should add WSL1 support at this point. :-/

andrembcosta commented 4 years ago

Windows Terminal - https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab

Instructions - https://hugary1995.github.io/raccoon/install/index.html

andrembcosta commented 4 years ago

I am trying to find a wsl folder in my computer to see which version I have but it seems to be very well hidden.

dschwen commented 4 years ago

Just update to WSL2 :-) https://docs.microsoft.com/en-us/windows/wsl/install-win10#update-to-wsl-2 (performance is supposedly much better than WSL1)