;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. #@122 Jump to the definition of the symbol under point. With prefix argument, use another window. (fn &optional OTHER-WINDOW) (defalias 'omnisharp-go-to-definition #[256 "\300\301\302 \"\303\304\305\306\"#\207" [append ((WantMetadata . t)) omnisharp--get-request-object omnisharp--send-command-to-server "gotodefinition" make-closure #[257 "\301\302!\303\236A\304\305\300##\207" [V0 omnisharp--prepare-metadata-buffer-if-needed omnisharp--get-filename MetadataSource make-closure #[514 "\302\301\300#\207" [V0 V1 omnisharp-go-to-file-line-and-column] 6 "\n\n(fn BUFFER FILENAME)"]] 8 "\n\n(fn RESPONSE)"]] 8 (#$ . 88) "P"]) #@336 Prepares metadata buffer if required (if FILENAME is missing and METADATA-SOURCE is available) and then invokes CALLBACK with either buffer or FILENAME of the file containing the definition. Metadata buffer is made readonly and both omnisharp-mode and csharp-mode's are enabled on this buffer. (fn FILENAME METADATA-SOURCE CALLBACK) (defalias 'omnisharp--prepare-metadata-buffer-if-needed #[771 "\301\300!\203\230\203\211p\302\"\207\203\211\302\"\207\2039\303!\304!\211\203-\302\"\207\305\306\307\310##\207\311\312!\207" [omnisharp--metadata-source boundp nil omnisharp--make-metadata-buffer-name get-buffer omnisharp--send-command-to-server "metadata" make-closure #[257 "\303\236A\304\236A\305\301!r\211q\210c\210\306 \210\307 \210\310\302!\210\311\312!\210)\300\313\"\207" [V0 V1 omnisharp--metadata-source Source SourceName get-buffer-create csharp-mode omnisharp-mode make-local-variable toggle-read-only 1 nil] 7 "\n\n(fn RESPONSE)"] message "Cannot go to definition as none was returned by the API."] 12 (#$ . 722)]) #@136 Builds unique buffer name for the given MetadataSource object. This buffer name assumed to be stable and unique. (fn METADATA-SOURCE) (defalias 'omnisharp--make-metadata-buffer-name #[257 "\300\236A\301\236A\302\236A\303\304\304\305\260\207" [AssemblyName TypeName ProjectName "*omnisharp-metadata:" ":" "*"] 11 (#$ . 1783)]) #@78 Do `omnisharp-go-to-definition' displaying the result in a different window. (defalias 'omnisharp-go-to-definition-other-window #[0 "\300\301!\207" [omnisharp-go-to-definition t] 2 (#$ . 2124) nil]) #@153 Show a list of all members in the current file, and jump to the selected member. With prefix argument, use another window. (fn &optional OTHER-WINDOW) (defalias 'omnisharp-navigate-to-current-file-member #[256 "\300\301\302 \303\304\"#\207" [omnisharp--send-command-to-server "currentfilemembersasflat" omnisharp--get-request-object make-closure #[257 "\301\300\"\207" [V0 omnisharp--choose-and-go-to-quickfix-ido] 4 "\n\n(fn QUICKFIXES)"]] 7 (#$ . 2330) "P"]) (defalias 'omnisharp-navigate-to-current-file-member-other-window #[0 "\300\301!\207" [omnisharp-navigate-to-current-file-member t] 2 nil nil]) #@248 Given a list of QuickFixes in list format (not JSON), displays them in an completing-read prompt and jumps to the chosen one's Location. If OTHER-WINDOW is given, will jump to the result in another window. (fn QUICKFIXES &optional OTHER-WINDOW) (defalias 'omnisharp--choose-and-go-to-quickfix-ido #[513 "\300\301!!\302\"\207" [omnisharp--choose-quickfix-ido omnisharp--vector-to-list omnisharp-go-to-file-line-and-column] 6 (#$ . 2945)]) #@122 Given a list of QuickFixes, lets the user choose one using completing-read. Returns the chosen element. (fn QUICKFIXES) (defalias 'omnisharp--choose-quickfix-ido #[257 "\300\301\300\211\203,\211A\262\242\262\262T\262\302\236A\303\304!\305R\262B\262\202\266\211\237\262\306\307\"\310\311\312\"\"\2118\207" [nil 0 Text "#" number-to-string " " omnisharp--completing-read "Go to: " cl-position-if make-closure #[257 "\211\300\232\207" [V0] 3 "\n\n(fn QUICKFIX-TEXT)"]] 11 (#$ . 3395)]) #@31 (fn &optional OTHER-WINDOW) (defalias 'omnisharp-navigate-to-solution-member #[256 "\300\301!\302\303\304BC\305\306\"#\207" [omnisharp--read-string "Enter the start of the symbol to go to: " omnisharp--send-command-to-server "findsymbols" Filter make-closure #[257 "\301\236A\302\300\"\207" [V0 QuickFixes omnisharp--choose-and-go-to-quickfix-ido] 5 "\n\n(fn INPUT0)"]] 8 (#$ . 3909) "P"]) (defalias 'omnisharp-navigate-to-solution-member-other-window #[0 "\300\301!\207" [omnisharp-navigate-to-solution-member t] 2]) #@31 (fn &optional OTHER-WINDOW) (defalias 'omnisharp-navigate-to-solution-file #[256 "\300\301\302\303\304\"#\207" [omnisharp--send-command-to-server "gotofile" nil make-closure #[257 "\301\236A\302\300\"\207" [V0 QuickFixes omnisharp--choose-and-go-to-quickfix-ido] 5 "\n\n(fn INPUT0)"]] 7 (#$ . 4440) "P"]) #@65 Returns all files in the current solution as a list of strings. (defalias 'omnisharp--get-solution-files-list-of-strings #[0 "\300\301\302\303\304 \236A!\"\207" [mapcar #[257 "\300!\207" [omnisharp--get-filename] 3 "\n\n(fn IT)"] omnisharp--vector-to-list QuickFixes omnisharp--get-solution-files-quickfix-response] 5 (#$ . 4756)]) #@146 Navigates to a file in the solution first, then to a member in that file. With prefix argument uses another window. (fn &optional OTHER-WINDOW) (defalias 'omnisharp-navigate-to-solution-file-then-file-member #[256 "\300!\210\301 \207" [omnisharp-navigate-to-solution-file omnisharp-navigate-to-current-file-member] 3 (#$ . 5096) "P"]) #@31 (fn &optional OTHER-WINDOW) (defalias 'omnisharp-navigate-to-solution-file-then-file-member-other-window #[256 "\300\301!\207" [omnisharp-navigate-to-solution-file-then-file-member t] 3 (#$ . 5439)]) #@118 Navigate to region in current file. If OTHER-WINDOW is given and t, use another window. (fn &optional OTHER-WINDOW) (defalias 'omnisharp-navigate-to-region #[256 "\300\301\302 \303\304\"#\207" [omnisharp--send-command-to-server "gotoregion" omnisharp--get-request-object make-closure #[257 "\301\236A\302\300\"\207" [V0 QuickFixes omnisharp--choose-and-go-to-quickfix-ido] 5 "\n\n(fn INPUT0)"]] 7 (#$ . 5648) "P"]) (provide 'omnisharp-navigation-actions)