Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6223
    i_libra
    Member

    1.I use the gcc as my compiler,but the Tag Jump has never work with it. Because my error message is filename:lineNo:Reason
    So I hope that I can customize the Tag Jump with Regex.

    2.Another request is that may I have the function that I can use the Output window as a console? So that I can execute some quick command such as delete or mkdir while I’m MAKING my codes.

    I think use a plugin to improve the output windows will be a better idea.

    3.A bug report about the outline plugin.
    We have some C codes like this:
    the outline plugin will only display ‘———————————‘ as the function name for this codes.

    //—————————————————————————-
    // Function:
    int foo_bar(
    //
    // Description:
    // demo
    //
    // Parameters:
    none
    )
    //
    // Returns: STATUS
    //
    //—————————————————————————-
    {
    }

    Many thanks for this good software, I love it very much.

    #6225
    Yutaka Emura
    Keymaster

    1. Use EmEditor v7.5 alpha, which allows you to customize the tag format. It will become EmEditor v8 beta shortly.

    2. We might work on that in the future.

    3. The Outline plug-in does not parse functions currently. We will work on this in the future. Instead, you might want to use the Projects plug-in Symbol feature.

    #6226
    i_libra
    Member

    Thank you Yutaka-san,

    I have tried the 7.5alpha 11,

    But it still cannot work.Could you help me to find the reason?

    I set the TagJump with this:
    ——————————————
    (^[.w/]*?[w.]+?):([0-9]*):
    1 filename 2 lineno
    ——————————————

    I use the codes below as a test:
    ——————————————–
    void main()
    {
    test error happen

    }
    ————————————————–
    and save it as test2.cpp

    then I use gcc from the external tool bar to compile it.
    the Setting is
    —————————————————
    Command:\%WinDir\%system32cmd.exe
    Argument:/k C:MinGWbingcc.exe $(Filename).$(Ext) -o $(Filename).exe && $(Filename).exe
    Initial Dir:$(Dir)
    ——————————————————–

    The Output windows look like this:
    ————————————————–
    test2.cpp:2: error: `main’ must return `int’
    test2.cpp: In function `int main(…)’:
    test2.cpp:3: error: `test’ was not declared in this scope
    test2.cpp:3: error: expected `;’ before “error”

    D:>
    ———————————————————–

    #6227
    Yutaka Emura
    Keymaster

    Try this:


    ^([w- :.&$\%~!]*?):([0-9]+):.*

    See also:
    http://www.emeditor.com/help/howto/search/search_regexp_syntax.htm

    #6228
    i_libra
    Member

    Thank you,

    I understand, the regexp should not only match the FILENAME and LINENO,but also match the whole line, then it can work.

    ^O^

    #6229
    Yutaka Emura
    Keymaster

    i_libra wrote:
    Thank you,

    I understand, the regexp should not only match the FILENAME and LINENO,but also match the whole line, then it can work.

    ^O^

    Yes, that is true. Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.