IDE Feature Request: Code folding, Method index, etc.

Asked by Shafiq Khan

It would be nice to be able to see all methods at a glance, to be able to fold them, and etc. especially when there are over 20 methods to work with.

Alternatively, why not bundle SIkuli with a opensource IDE that already has the features so that users can use it out of box. I've tried using Sikuli 1.0.1 with Eclipse. It's not very straightforward. And Sikuli 1.1.0 doesn't work for me at all for some reason.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Shafiq Khan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Supposing you are talking about Python scripting in the SikuliX IDE:
With Eclipse having the Python plugin see here for the correct setup and usage (best support with version 1.1.0):
https://github.com/RaiMan/SikuliX-2014/wiki/Usage-in-Java-programming

Code folding is on the list for version 1.2.
But language support like in mature IDE's will never be available in SikuliX IDE.

Feel free to use any open source IDE you like - each of them can be configured to be used with SikuliX.

--- And Sikuli 1.1.0 doesn't work for me at all for some reason.
... what problems do you have ?

Revision history for this message
Shafiq Khan (srk8887) said :
#2

With Sikuli 1.1.0, I downloaded the sikulixsetup-1.1.0.jar from http://nightly.sikuli.de/. Then tried opening it by double-clicking. Nothing happens for some reason. 1.0.1 installs and runs fine though. However, sikulixsetup-1.1.0.jar worked in 1 out of 5 machines I tried it on. Not sure what I did right on that machine and what I'm doing wrong in the others. They all have the latest JRE 8, Windows 8.1, Python 2.7.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

At least a log file should be produced on the failing system.

If not, then you have some Java setup problem there.

In these cases you might try from command line
java -jar sikulix-setup-1.1.0.jar

to see what happens.

Revision history for this message
Shafiq Khan (srk8887) said :
#4

Getting the UnknownFormatConversionException error.
Screenshot: http://i.imgur.com/DfzWSJc.png

Revision history for this message
RaiMan (raimund-hocke) said :
#5

You have a percent sign in the pathname.

Never ever do that.

Good file and pathnames only contain ASCII letters and numbers and underscores and/or hyphens. a dot should only be used at the end to separate the filetype and it should not contain any blanks or special characters other than the 2 before mentioned.

Not obeying this rule might lead to problems or needs extra effort.

Revision history for this message
Shafiq Khan (srk8887) said :
#6

You have no idea how long I've been kicking myself trying to run 1.1.0. As it turns out, you are right. It worked as soon as I replaced the special characters (space, dot etc.) with underscore.