Screen capture of my Intellij IDEA shows problem. My own keywords are ok, but Robot Framework keywords are all underlined with red color. Not good.
I'm using Intellij IDEA to develop Robot Framework test cases using Selenium Library. My IDEA is recognizing all Keyword that I have implemented, but doesn't recognize any library Keywords. It is underlining those with red color and doesn't suggest or give any hints for those. Here is version information about my IDEA:
IntelliJ IDEA 2017.1.5
Do you have any suggestions? What should I check from my IDEA?
I know that this is an old question, but I stumbled upon this during my research for the same problem, so here is my result.
In the description of the Robot Framework Plugin for IntelliJ IDEA and PyCharm is stated that the support for library keywords is only with the help of either PyCharm or the Python plugin for IntelliJ IDEA. But unfortunately, that is only available for IntelliJ IDEA Ultimate Edition. There is a version for the Community edition, but it's not exactly the same.
Make sure you imported Selenium Library under Settings. It doesn't come automatically like the BuiltIn keywords.
Also, make sure you are importing the right version of Selenium. There's SeleniumLibrary, Selenium2Library, and Selenium2LibraryExtended.
The only reason I'm suggesting this is because you didn't share your Settings code, which would give me a better picture of what you're asking.
Related
I'm using Pycharm as my Odoo IDE. But for the reason of no auto-complete function, it bring me coding trouble. So i wonder if there is a plugin that can provide auto-complete function or more convenient IDE?
Thanks for your help!
You can use Eclipse as Odoo IDE.
currently i am using eclipse as Odoo IDE, it's very easy to coding.
you should try it.
I found myself using PyCharm for the most of my programming needs. The key pain points PyCharm solved for me where robust code intel tools, better Python application run and debug support, with traceback clicking. The development efficiency gained from these features is enough to migrate over, even though there are features I miss in Sublime Text. However, these editors sync files perfectly and I can always alt+tab switch to Sublime Text when I need to write some Restructured Text or Markdown.
I am looking forward for the upcoming contender Github’s atom.io editor which has the ease and flexibility of Sublime Text plugin system, but with better features, UI integration and big development-oriented company backing it up. Atom team is still working on getting the basic architecture together, so it might be few years until we see robust Python tools on Atom. I’d guess HTML, CSS and JavaScript support get there sooner, as they are building the Atom itself on CoffeeScript.
I am using Lua (I am newbie on it) for scripting under Sublime Text 2 and Linux and I would like to debug my script so I would like to set some breakpoints. How can I achieve this?
Sublime text 2 is just a text editor, it is not an environment and so you cannot debug in it. I don't actually script Lua, so I am not that familiar with the tools available for it but they are out there.
Corona Labs released plugin for Sublime, which supports debugging. Check out: https://sublime.wbond.net/packages/Corona%20Editor
As far as I see - no such a thing thing for Sublime Text. Only some kind of Corona Texmate Bundle[1] derivative for Sublime[2].
Also there are couple of links for Corona SDK IDEs in official Corona page[3]. Some of them provides debugging functionality...
[1]http://www.ludicroussoftware.com/corona-textmate-bundle/
[2]https://github.com/drowne/Corona-Sublime
[3]http://www.coronalabs.com/resources/3rd-party-tools-and-services/
It should be possible to write a plugin for SLT2/3
Plugins are written in Python, so there is no compilation needed or anything like that. But it's still a huge effort due to the fact that there is virtually no documentation available for the SLT scripting API.
Your best bet would be to borrow from existing projects like
https://github.com/Kindari/SublimeXdebug
http://sokolovstas.github.io/SublimeWebInspector/
There is also Outlaw which claims to be an IDE but it does not seem to support debugging and is more like a project manager with a mediocre editor attached. You can probably do the same in SLT with a few commandlets. It does seem to have completion though.
I am making a eclipse plugin. I began with the default MultiPageEditor wizard and implemented the specific functionality that I wanted. Now, I wanted to get features like Java syntax highlighting, error detection etc. that comes with the standard JDT plugin, in the custom editor that I have written.
Questions:
1. Is this even feasible ?
2. If yes, what will be quickest way to achieve this.
Why not just sub-class the JavaEditor or the CompilationUnitEditor and add it as a page to your MultiPageEditor?
I have been programming in Clojure for some time now on Intellij IDEA. I love the language and IDEA is, by far, my favorite IDE. But one thing that annoys me is not being able to run tests from the IDE and see the red/green/orange bar. Is there any plugin for that? Or, at least, some clever trick?
Searching gives two main variants:
Leiningen (as in this tutorial) and lazytest.
There is inconvenience that lazytest still hasn't integration with IDEA as plugin.
I have a question for you. My teacher proposed a couple of thesis to me. Basically to develop a plugin for eclipse. There are 2 options:
1)An editor for A-SPL language with syntax highlighting, auto completation of the cose, errors detection and so on........to help people that need to use S-APL
2)An editor to help people to design GUI in S-APL......something like a framework where you can drag widgets and there is a kind of automatic completation of the code....
The thesis should last 4 months......i should not implement everything but make a kind of prototype that maybe in the future someone will finish and make properly work.
I never did something like this so i would like to know if it is difficult, which skills are needed, which languages i should know to create eclipse plugins (for example i know java and python) and so on......to figure out if it is something i can do.
I'd suggest to look into the Xtext (for a textual editor) and Graphiti (for a graphical editor) projects.
You'll need Java for Eclipse plugins.
You need to read a book / the eclipse plugin wiki about Eclipse architecture as it's critical to know the paradigms in use.
There's an example XML plugin editor that you can create from the 'New Plugin' wizard which would be a good starting point for the first option.
good luck. :)