Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: EmEditor Professional 9.00 alpha 37 #7505
    noespam
    Member

    How about a checkbox in the snippet dialog? The option might be useful for other shells.

    BTW, I just ordered a personal license since you are so helpful :) Thank you for keeping EmEditor small, fast, powerful and 64-bit. –mario

    in reply to: EmEditor Professional 9.00 alpha 37 #7502
    noespam
    Member

    Yutaka wrote:

    For instance, if you want to show the current directory:

    `- cmd
    DIR ${Dir}
    `

    If you don’t want to parse parameters like ${}, you can use

    ‘!- filename
    stdin
    stdin

    `

    works :) Here’s an example for those of you who use powershell.

    `- powershell –
    # prompts for name then echos the hello greeting
    $name = “${name}”.ToUpper()
    “Hello $name!”
    exit
    `

    Note the exit is required. Powershell would not exit automatically. What about an option to chop the last CRLF? Most of the time I want to replace the trigger inline instead of adding a new line. The above code always adds a new line.

    in reply to: EmEditor Professional 9.00 alpha 37 #7491
    noespam
    Member

    Snippets are coming along nicely :)

    When I use powershell code for a snippet, the output window waits for a carriage return before inserting the output into text. Try this.

    `#cmd powershell dir -name`

    The syntax seems limiting. Difficult to put anything but trivial code in a one-liner short of invoking a script file. May I suggest something like the shebang in unix scripts?

    #!cmd
    code here
    and here

    and here

    #!ps
    code here
    and here

    and here

    in reply to: EmEditor Professional 9.00 alpha #7189
    noespam
    Member

    will try out the new alpha this weekend and give feedback. thanks so much!

    in reply to: EmEditor Professional 9.00 alpha #7172
    noespam
    Member

    AWESOME! I have been using a combination of EmEditor and another editor with Textmate-like snippets. That other editor never felt like a lightweight text editor. Can we invoke command line utilities and capture STDOUT and STDERR to replace entire buffer or selection? I see RubyScript support, but would prefer to use the ruby + rubygems installed on my system.

    in reply to: EmEditor Professional 8.00 beta 2 #6422
    noespam
    Member

    +1 for textmate like snippets and commands

    This is a huge productivity feature. This is the only reason I use that slow, buggy single letter editor for windows.

Viewing 6 posts - 1 through 6 (of 6 total)