Tabcompletion and docview while editing rc.lua

Posted by Berxue on Stack Overflow See other posts from Stack Overflow or by Berxue
Published on 2014-05-31T11:20:56Z Indexed on 2014/06/01 3:26 UTC
Read the original article Hit count: 273

Filed under:
|
|
|

I saw that there is a lua plugin for eclipse and there is a docpage on the awesome main page api_doc and all the .lua files in /usr/share/awesome/lib.

So I thought it must be possible to create a Library or Execution Environment so that one has tabcompletion and docview.

So I tried making my own Execution Environment:

  • wrote the standard .rockspec file
  • downloaded the documentation made an ofline version of it and put it in docs/ folder
  • ziped the files and folders in /usr/share/awesome/lib
  • ziped all up

tried it out ... and it failed. When I try to view a documentaion for a .lua file I get "Note: This element has no attached documentation."

Questions: Am I totaly wrong in my doing (because I have the feeling I am)? Is there any way to edit the rc.lua with tabcompletion and docview?

© Stack Overflow or respective owner

Related posts about linux

Related posts about eclipse