#908 no symbols of matlab classes are shown

None
open
nobody
v1.22
5
2013-07-23
2012-10-24
No

Geany version: 1.22

In matlab (*.m) files that contain a class definition (classdef) no symbols are shown in the symbols browser.

In addition the keywords "classdef", "properties" and "methods" should be highlighted in the editor. And probably other class/object related keywords too.

See the attached testcase.

Ref: http://www.mathworks.ch/ch/help/matlab/object-oriented-programming.html

Discussion

  • Simon Wenner

    Simon Wenner - 2012-10-24

    matlab class test case

     
    Attachments
  • axeoth

    axeoth - 2013-02-02

    Hi,

    I think this should be closed now.

     
  • Simon Wenner

    Simon Wenner - 2013-02-02

    It was fixed in which commit?

     
  • Lex Trotman

    Lex Trotman - 2013-02-04

    @axeoth, not fixed, why close?
    @nowic, please provide a fixed version of filetypes.matlab with new keywords, that will get you highlighting.

    Symbols is a limitation of the ctags parser tagmanager/ctags/matlab.c that does not understand anything about classes. Patches are welcome.

     
  • axeoth

    axeoth - 2013-02-04

    @elextr: sorry, my fault: I overlook the part about the lexer, considered only the keywords.
    @nowic: this pull request provides a partial fix: keywords highlighting.

    https://github.com/geany/geany/pull/101

     
  • Colomban Wendling

    • labels: Filetypes --> Filetypes, MatLab, parser
    • Found in: --> v1.22
    • Fixed in: --> None
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks