
#Cutting and pasting in lightzone full#
You can copy the full contents of the tooltip by Alt-clicking it ( Ctrl+Alt-clicking it if you are on Linux).īy default, the tooltips also appear on mouse hover and you can disable this behavior and configure the delay on the Editor | Code Editing page of the IDE settings Ctrl+Alt+S. For example, error description Ctrl+F1, which appears on highlighted code issues if the design-time code inspection is enabled for the current file, or Quick Documentation Ctrl+Q that shows full symbol specification (and its documentation if available). JetBrains Rider editor displays additional information for code elements in tooltips. You can also make a selection before invoking this action to have the link with a highlighted selection right on GitHub. If the current file is in a Git repository with GitHub as remote, you can choose to copy the GitHub URl to the file from the popup. In the popup that opens, choose what part of the path you want to copy - filename, absolute, or relative path. Press Ctrl+Shift+C to copy the absolute path to the current file.Ĭhoose Edit | Copy Path/Reference from the main menu. There are also several ways to copy the path to the current file and line in any format: The XML-doc ID will be M:MyNamespace.M圜lass.MyMethod Copy paths For more information about the ID format, see Processing the XML File (C# Programming Guide).įor example, for the method MyMethod declared as You can use this ID when referencing this entity in XML-doc comments of other symbols. When you invoke this command within a namespace, type, or a member, you can choose XML-Doc ID from the popup to copy the XML-documentation ID of the enclosing entity. You may need the fully-qualified name of a symbol in different situations, for example, when you use reflection. If you need the name or namespace only, you can choose those in the popup. When you invoke this command on any symbol (declaration or usage), it automatically copies its fully-qualified name to the clipboard. When you need to log or share the context of the current location, such as the name of the symbol under the caret or its XML-documentation ID, the path to the file or the VCS path, you can press Ctrl+Alt+Shift+C and copy the desired reference from a popup: Copy symbol name If you want to make a copy of a line or selection, press Ctrl+D to duplicate it instead of copying and then pasting. If you want to have a rich-text copy by default, you can make a single plain-text copy by right-clicking the selection and choosing Copy / Paste Special | Copy as Plain Text from the context menu. If you want to always copy editor selection as plain text, clear the Copy (Ctrl+C) as rich text checkbox on the Editor | General page of the IDE settings Ctrl+Alt+S. When cutting and copying text from the editor, by default JetBrains Rider puts it as rich text to the clipboard, keeping the highlighting colors and font. You can disable copying or cutting the current line when there is no selection on the Advanced Settings page of the IDE settings Ctrl+Alt+S - look for the Don't copy/cut the current line when invoking the Copy or Cut action with no selection setting under Editor. Press Ctrl+C or choose Edit | Copy from the main menu. Set the caret anywhere in the line to copy the whole line, or make a selection to copy. For example, you can press Ctrl+W to elect the word at the caret and then extend the selection to containing logical blocks of code. There are a lot of ways to select text in the editor before copying or cutting.


Press Ctrl+X or choose Edit | Cut from the main menu. Set the caret anywhere in the line to cut the whole line, or select a block that you want to cut.

Cut and copy code to the clipboard Cut line or selection

You can also cut, copy, and paste several ranges of text in different places with multiple carets. When pasting, you can optionally choose items from clipboard history and automatically apply formatting rules. Apart from standard cut, copy, and paste operations, JetBrains Rider lets you copy file paths, symbol references, and so on.
