If you specify a line number larger than the file then the last line will be used. This command will, as the name suggests, let you specify a line number to center the editor tab on. It is possible to quickly jump though a file to a specified line number by using the command Editor: Go to line. Note: Replacement is a destructive change in Search and there is no undoing! See this issue for status. Here is an example of providing your own aliases to use, in addition to, via your User plugin. See the Find section for information on those features. Both are smart-cased, allow regular expressions for queries, and have capture groups available. The command will open a new tab with an area to enter your query and one to display the found results. Search allows you to search the entire workspace for text via the command Searcher: Show. With the above example, you could append an 's' after 'item' with $1s. Capture groups can be used in the replace field. For instance, /(item)/ will find all occurrences of lines containing 'item'. However, if you intentionally type an uppercase letter then find assumes you are looking for that specific string.Įnable regular expressions by wrapping your query in forward slashes ( /). This means if you type in all lower case then find assumes you mean to generically search for that run of characters. In it you can enter, unsurprisingly, text to search for within the editor.įind is smart-cased. In an editor tab, you can find and replace some of the content via the command Find: In current editor. Clients associated with the currently active editor will appear highlighted.īy presenting a list of all available client types, the connect tab allows you to explicitly add a connection to a client. You might unset a client when you want to change the context in which you eval something. This list allows you to disconnect a client, which often kills the process it is associated to, or unset a client associated to an editor. To open it, use the Connections item in the View menu or the Connect: Show connect bar command. The connect pane shows you a list of currently connected "clients" that can be used for doing language operations like eval. The command pane will show associated keybindings underneath a command, if there are any. Opening the command pane is bound to Ctrl+Space by default, but you can use the Commands item in the View menu as well. Want to open a file or change some setting? Type "open file" or "setting" to filter down to what you want to do and then press enter to do it. It is a filter list like navigate that presents a list of all the visible commands in Light Table. The command pane is your one stop shop to figure out if Light Table can do something. For example, if you to type "mcf" then the partial substring matching will match "my-cool-file" and so on, which dramatically increases efficiency of filter operations. This means you can type letters and as long as those letters appear in order in one of the list items it will be considered a match. All filter lists inside Light Table use a form of sequential partial substring matching. The navigate tab is a "filter list" where typing in the top input will filter the results down to those that match what you've typed. Opening it is bound to Cmd/Ctrl+O by default. Once you have files and folders in your workspace, the navigate pane provides the quickest way to open a file by name. When you open a new window of Light Table, you will be given a new blank workspace - if you want to switch to a recently used one, click the recent button and select one of your old workspaces from the list. From this context menu, it is also possible to remove files and folders from the workspace if you no longer want them. Once you have items in your workspace, you can use the right-click context menu to do the standard file actions you would expect (e.g., rename, delete, new file). You can then add files or folders to the workspace using the buttons at the top. To open the workspace tree, click the Workspace item in the view menu. The workspace tree allows you to instead add files and folders into a file explorer that you can then use to open/rename/delete/etc the files you're interested in. Opening each file individually through the native open dialogs isn't very efficient. To open a file, use the Open file menu item in the File menu or press cmd/Ctrl-Shift-O. To create a new file, use the New file menu item in the File menu or press cmd/Ctrl-N. The division between basic functionality and advanced functionality is somewhat arbitrary, so be sure to check out both sections. All you could want to know about: files, navigation, connections, commands, and searching.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |