Hi,
seems odd, but I really do not know what marks are and how to set them (and how many)? It seems related to the keybinding setMark.
In the latest release version 2.0-beta.9.1 the jump to next/previous mark shortcuts have been changed to F3/⇧F3. So I was wondering how to set them ;) and what is the difference with bookmarks?
regards, feek
-- View this message in context: http://textmate.1073791.n5.nabble.com/What-are-marks-an-how-to-set-tp29938.h... Sent from the textmate users mailing list archive at Nabble.com.
On 2016-04-19 17:28, feek wrote:
Hi,
seems odd, but I really do not know what marks are and how to set them (and how many)? It seems related to the keybinding setMark.
In the latest release version 2.0-beta.9.1 the jump to next/previous mark shortcuts have been changed to F3/⇧F3. So I was wondering how to set them ;) and what is the difference with bookmarks?
A mark will show up in the gutter, to the left of the line numbers, as an icon. If you click on the icon a popover will open with a message.
You can set marks using "mate --set-mark", see "mate -h" for more information. For example, "mate --set-mark error:foobar --line 3 foo.txt" will open the file "foo.txt" and set a mark at line 3 with an icon corresponding to "error" with the message "foobar".
Marks can be used for showing compile errors or warnings for example. The built-in runner supports marks. You can test this by creating a new file called "foo.rb" with the following content "class Foo". Select Ruby as the language and run the file using Cmd+R. You should now see a warning icon in the gutter, pressing the icon should show a popover with the text: "syntax error, unexpected end-of-input".
2.0-beta.9.1 isn't published as nightly build? Because I still have 2.0-beta.9, with the ⌘ < / ⌘ > shortcuts.
Koen
On Apr 19 2016, at 6:17 pm, Jacob Carlborg <doob@me.com> wrote:
On 2016-04-19 17:28, feek wrote:
> Hi, > > seems odd, but I really do not know what marks are and how to set them (and > how many)? It seems related to the keybinding setMark. > > In the latest release version 2.0-beta.9.1 the jump to next/previous mark > shortcuts have been changed to F3/⇧F3. So I was wondering how to set them ;) > and what is the difference with bookmarks?
A mark will show up in the gutter, to the left of the line numbers, as
an icon. If you click on the icon a popover will open with a message.
You can set marks using "mate --set-mark", see "mate -h" for more
information. For example, "mate --set-mark error:foobar --line 3 foo.txt" will open the file "foo.txt" and set a mark at line 3 with an icon corresponding to "error" with the message "foobar".
Marks can be used for showing compile errors or warnings for example.
The built-in runner supports marks. You can test this by creating a new file called "foo.rb" with the following content "class Foo". Select Ruby as the language and run the file using Cmd+R. You should now see a warning icon in the gutter, pressing the icon should show a popover with the text: "syntax error, unexpected end-of-input".
--
/Jacob Carlborg
_______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi Jacob,
thnx, its clear to me now!
Feek
-- View this message in context: http://textmate.1073791.n5.nabble.com/What-are-marks-an-how-to-set-tp29938p2... Sent from the textmate users mailing list archive at Nabble.com.