Menu

#17 Autocompletion works only partial

closed
None
7
2009-01-09
2008-03-23
No

Hello,

on my system Autocompletion works only for commands with the following styles:

\command[]{}

or

\command{}

commands like

\command (those without additional arguments)

are totally ignored, but where even defined in commands.xml.

Example:

\fraq{}{} works fine and as expected,

but

\noindent doesn't work - is not displayed.

I'm using Xubuntu 7.10 and gedit 2.20.3. The Plugin is installed in my homefolder in the right place.

The problem persists while testing with Xubuntu 8.04 beta and gedit 2.22.0.

Keep on your good work!
Regards

Maik

Discussion

  • Michael Zeising

    Michael Zeising - 2008-03-27

    Logged In: YES
    user_id=1016811
    Originator: NO

    Thanks for reporting. Strange, which release are you using? Can you run gedit from a console and edit a TeX file? Maybe there's some debug output from the plugin...

    Michael

     
  • Michael Zeising

    Michael Zeising - 2008-03-27
    • assigned_to: nobody --> m_zeising
     
  • Antoine  Pairet

    Antoine Pairet - 2008-03-29

    Logged In: YES
    user_id=2049086
    Originator: NO

    Hi! I can confirm this.
    I ran gedit through console and edited a .tex file using auto completion, but no debug informations were given. I used the following command:
    $ gedit xxxx.tex

    I think all command to which no argument is passed don't work with the autocompletion. Other commands works fine.
    If there's any test I could perform, feel free to ask.

    Thanks for this great tool I'm using every day!

    Antoine
    further info:
    * Ubuntu Hardy (8.04 beta)
    * gEdit LaTeX plugin version 0.1.3.1
    * gedit 2.22.0

     
  • Antoine  Pairet

    Antoine Pairet - 2008-03-29

    Logged In: YES
    user_id=2049086
    Originator: NO

    Hi, Here's some additionnal info:
    If I define a new command inside the document, auto completion works with it:
    \newcommand{\St}{S_{tot}}
    Auto completion will work and proposes \St in the list. However, adding
    <cmd name="St" />
    to the file commands.xml without defining \St in the document will not work with auto completion.

    I hope the description is good enough for you to understand.

    Maybe this has something to do with a particular version of python?
    * Python 2.5.2 (r252:60911, Mar 12 2008, 13:36:25)
    * [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu4)] on linux2

    regards,
    Antoine

     
  • Maik Rosenow

    Maik Rosenow - 2008-03-30

    Logged In: YES
    user_id=2043808
    Originator: YES

    forgot to mention i'm using gEdit LaTeX plugin version 0.1.3.1

    when running from a console there is no debug output displayed.

     
  • Michael Zeising

    Michael Zeising - 2008-04-02

    Logged In: YES
    user_id=1016811
    Originator: NO

    Thanks for your detailed info, I see the problem. It's in the lexer of the code completion, it'll be fixed in the next release ;)

    Michael

     
  • Michael Zeising

    Michael Zeising - 2008-04-02
    • priority: 5 --> 7
     
  • Michael Zeising

    Michael Zeising - 2009-01-09
    • status: open --> closed
     

Log in to post a comment.