-
Notifications
You must be signed in to change notification settings - Fork 105
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
Install Guide. #10
Comments
Most IDE's can handle this pretty easy. You might want to download Github's client as well, since these files get updated once in a while. How to "install" this depends on what IDE you decide to use. |
I've only ever really used Visual Studio (the free versions) before. I'm not sure if they count as IDE's, but I've been looking at Sublime Text 3 and Visual Studio Code recently. Is it possible to install for these? If not, could you explain how to install it for Eclipse? Cheers |
I tried both Sublime Text 3 and Visual Studio Code, but couldn't get them to work properly (They might work, but I have no idea on how to do it). If you are going to use Eclipse I recommend downloading it from Here. Setting up Eclipse is quite easy. A new window opens. Make sure you are on the "Libraries" tab and click the Add JavaScript Library button. Another window. Select "User Library" and then next. Now the "User Libraries" window opens. Press new and name your new library whatever you want (I usually go with ScreepsAutocomplete, but choose whatever you want, it's not important). Now select the library you just made and click the "add folder..." button. Now press OK, Finish then OK again (to close all open windows). All setup and done! |
Thanks @Zinal001 I'm going to admit, I have no idea how to get this running in Visual Studio, and I don't run Windows at the moment so I can't give it a test. If you're keen on staying in Studio, this is about the only resource I could find with a quick google search on adding it to Visual Studio. Maybe in a bit I'll write an install guide for Jetbrains, Eclipse and Sublime in the README.md of this project |
Will you do this? or could you just quickly tell me how you could make this work with sublime - if you indeed can. |
Hi Yeah, there's been a fair delay. I haven't used this library, or played Screeps, in a very long time. But it seems it's getting a lot more attention now, so I'm looking in to it. For Sublime Text, it seems like the best way I've found so far is using a Sublime Text plugin called TernJS. Once you've installed this, having |
I was completely unable to get TernJS working with Sublime Text 3, here's an alternative:
If you can tell me how to get Tern working I would be interested. |
Hm... I can't really say I did anything special to get TernJS working. All I did was copy ScreepsAutocomplete in to my project, then used var room = new Room();
room.loo And let Autocompletion go to town. I'll add instructions for both TernJS and SublimeCodeIntel. I tried SublimeCodeIntel, but didn't know I had to modify the settings, so I was wondering why it didn't work |
Can't seem to make it work in Eclipse, but I've got VS and Sublime Text up, which seemed to be the most requested |
Would be possible to make this work with atom? |
It does On Sat, 3 Sep 2016, 20:14 Esteban Puentes, [email protected] wrote:
|
Hello, EDIT: Managed to make it work. Brackets didn't need the Ternific extension. Once I deactivated extension, it started working. xD So, for Brackets, simply create a .tern-project file with (the code given for Atom IDE):
and place it in the "default" folder with your other Screeps files. Thanks @Garethp for your work 👍 |
Thanks @Leakimski I'll look at adding that to the readme |
still can't get this to work in Atom... :( the package " atom-ternjs" doesn't seem to exist in the Atom package repository :( |
Console: apm install atom-ternjs |
I can't get the autocomplete working with Eclipse... |
I've tried all these suggestions, for the life of me, I can't get this to work in sublime |
I'm pretty new to this. Only used Visual Studio before so I'm not sure how to go about this.
Could you explain what IDE's are supported and how to install this?
Thank you.
The text was updated successfully, but these errors were encountered: