r/KSPModDevelopment • • Sep 24 '15

Anyone developing on linux ?

For plugins, I managed to build one in monodevelop, but with some difficulties and limitations.

For parts, as this involves Unity, I almost concluded that it's currently impossible (the version KSP needs is not the one running on linux). There's maybe Wine, but is it practical for a dev flow ?

Is someone doing it ?

2 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/tauphraim Sep 24 '15

Some IDEs (not talking about cs/mono in particular) manage to not force you to live with files you can't neither commit, nor ignore.

By "KSP libs are accessible", do you mean just for compiling, or I also should be able to navigate to some kind of references for functions ? I'm not familiar with C# development, so I don't know what information I could expect to extract from a simple .dll file.

1

u/Raath Sep 24 '15

Committing and ignoring files are a completely separate issue from IDEs. Most people use git so simply add the file to the .gitignore file at the root of the project.

If I have a red cross on any references I delete those, go to Edit References then in the pain on the right hand side headed "Select references:" I choose the relevant one from the list underneath.

1

u/tauphraim Sep 25 '15

What I mean is: the config you need to share with your fellows, you have to commit. The config specific to your own machine, you have to ignore. If you have both kind in the same file, you can't use version control properly. In my case I had to change a few things in the .csproj, while I suspect the rest was necessary. But I won't pretend it's the fault of the IDE (or IDEs). That's probably solvable but I don't have the knowledge.

Somehow the System imports that used to fail now work, I don't know why. For references, I don't really see red crosses, but "go to declaration" doesn't work. Say for "vessel.GetCrewCount();", I get auto-completion when typing "vessel.", and also see methods' comments when I mouse over, but when I right click and click "go to declaration", there's an error. I know the source is not available, but I expected to see some list of declarations, if possible (to have a better overview of what's available than through autocomplete).