Yes I am planning to use Ride’s python code in django application.
In that case, I bow to you brave code warrior. Welcome to the adventure
RIDE obtains keywords docs from imported libraries, and builtin using module
namespace, then stores it in a SQL-lite database which works as cache. When invoked does a similarity query and creates a list.
Only recently I have fixed this on https://github.com/robotframework/RIDE/pull/2267 because was not working for Resource files. The relevant code change is at
You need to understand a bit of RIDE history. This autocomplete was originally created for the Grid or Cell Editor, only later was adapted for the Text Editor.
I think you would better start your own implementation, with cleaned up code. Most of the text editors, like for example, Notepad++, Geany, use the Scintilla library. RIDE does this too, by using wx.stc. That would be a better place to start. Run the demo, or even the CustomCodeEditor (right click a file on RIDE’s File explorer), you can see there the Demo autocomplete with Ctrl-Space.
Other option which is getting good interest from our community, is the Language Server Protocol https://github.com/robocorp/robotframework-lsp.