Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Support #37

Closed
0xafbf opened this issue Jul 28, 2016 · 9 comments
Closed

Linux Support #37

0xafbf opened this issue Jul 28, 2016 · 9 comments

Comments

@0xafbf
Copy link

0xafbf commented Jul 28, 2016

Is there linux support? I couldn't find mention of it.
I guess it is because of the sourcekitten dependency, which depends on sourcekit and it depends on libdispatch, so it could take a while to have sourcekitten support.

There is swift-ide-test for linux but I don't know if it would be useful or possible at all

@modocache
Copy link
Owner

I estimate SourceKit will be available on Linux within several weeks, and SourceKitten is already working on Linux support: jpsim/SourceKitten#223

For now, I'm afraid Nuclide only supports autocompletion and other features on macOS, not Linux.

@0xafbf
Copy link
Author

0xafbf commented Jul 29, 2016

Nice =D I didn't know that. I thought SourceKitten was planned for much later but its good to know that it is in the works now.

@zxw454034941
Copy link

SourceKitten can build on linux now:jpsim/SourceKitten#223.
I set the path for the SourceKitten Executable in nuclide setting, but the autocompletion didn't work.
Is there any other works to do to support on linux?

@modocache
Copy link
Owner

@zxw454034941 Did you try using an official Nuclide release?

I don't remember, but I imagine there are still one or two minor things to do to support Linux.

I'll migrate this issue to facebook/nuclide, since all development is being done on the official repository now.

@zxw454034941
Copy link

@modocache Thank you for your reply, I just used the official Nuclide release.

Hope to fix the linux support.

Another small question, will Nuclide support swift debugger?

@modocache
Copy link
Owner

@zxw454034941 Did you build your Swift package via the Nuclide toolbar? You need to build once before any autocompletion results appear.

@modocache
Copy link
Owner

I'm migrating this issue to facebookarchive#678. Thanks all!

@zxw454034941 What kind of Swift debugger support would you like to see?

@zxw454034941
Copy link

@modocache just like you mentioned: #28

@modocache
Copy link
Owner

modocache commented Aug 28, 2016

Ah, gotcha. I didn't move that issue to the facebook/nuclide repository because I think it might already work. Have you tried attaching a debugger via Nuclide to a SwiftPM-built executable built in Debug mode? I think it may work right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants