From 7548b209f584151d92b90e1e163f266fc19fb99f Mon Sep 17 00:00:00 2001 From: micbou Date: Sun, 27 Jan 2019 14:19:47 +0100 Subject: [PATCH 1/2] Update ycmd Include the following changes: - allow users to configure LSP servers through extra conf; - add Clangd completer; - do not default to 32-bit when downloading libclang; - update requests; - do not include Clangd with --all; - add GetType command to Python completer; - update Boost to 1.69; - only detail filtered candidates in Python completer; - include signature to Python candidates; - only detail filtered candidates in TypeScript completer; - update Jedi to 0.13.2; - only detail filtered candidates in Go completer; - only resolve filtered candidates in LSP completer; - do not find CMake and Python if not needed; - do not read LSP settings on every file parse; - fix system headers search on macOS; - report Java server startup status correctly; - make LSP debug info consistent; - improve LSP project directory detection; - determine simple subcommands automatically in LSP completer; - fix LSP server startup when UnknownExtraConf is thrown. --- third_party/ycmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/ycmd b/third_party/ycmd index 0e999dbe..4b022b38 160000 --- a/third_party/ycmd +++ b/third_party/ycmd @@ -1 +1 @@ -Subproject commit 0e999dbee209ea79a522259816ce3a68b7d6cddc +Subproject commit 4b022b3858a45eefad953359783111538227119c From 9bf53fba7ea3d95b0dd383d40e9f4221398c4f4a Mon Sep 17 00:00:00 2001 From: micbou Date: Sun, 27 Jan 2019 16:16:41 +0100 Subject: [PATCH 2/2] Add GetType subcommand for Python in docs Be consistent in the order of features between languages. --- README.md | 25 +++++++++++++------------ doc/youcompleteme.txt | 23 ++++++++++++----------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index ee72af1f..fd74332a 100644 --- a/README.md +++ b/README.md @@ -699,26 +699,27 @@ Quick Feature Summary * Semantic auto-completion with automatic fixes * Real-time diagnostic display * Go to include/declaration/definition (`GoTo`, etc.) -* Semantic type information for identifiers (`GetType`) -* Automatically fix certain errors (`FixIt`) * View documentation comments for identifiers (`GetDoc`) +* Type information for identifiers (`GetType`) +* Automatically fix certain errors (`FixIt`) ### C♯ * Semantic auto-completion * Real-time diagnostic display * Go to declaration/definition (`GoTo`, etc.) -* Semantic type information for identifiers (`GetType`) +* View documentation comments for identifiers (`GetDoc`) +* Type information for identifiers (`GetType`) * Automatically fix certain errors (`FixIt`) * Management of OmniSharp server instance -* View documentation comments for identifiers (`GetDoc`) ### Python -* Intelligent auto-completion +* Semantic auto-completion * Go to definition (`GoTo`) * Reference finding (`GoToReferences`) * View documentation comments for identifiers (`GetDoc`) +* Type information for identifiers (`GetType`) ### Go @@ -729,15 +730,15 @@ Quick Feature Summary ### JavaScript and TypeScript * Semantic auto-completion with automatic import insertion +* Real-time diagnostic display * Go to definition (`GoTo`, `GoToDefinition`, and `GoToDeclaration` are identical) * Go to type definition (`GoToType`) * Reference finding (`GoToReferences`) -* Real-time diagnostic display -* Renaming symbols (`RefactorRename `) * View documentation comments for identifiers (`GetDoc`) * Type information for identifiers (`GetType`) * Automatically fix certain errors (`FixIt`) +* Renaming symbols (`RefactorRename `) * Code formatting (`Format`) * Organize imports (`OrganizeImports`) * Management of `TSServer` server instance @@ -747,8 +748,8 @@ Quick Feature Summary * Semantic auto-completion * Go to definition (`GoTo`, `GoToDefinition`, and `GoToDeclaration` are identical) -* Management of `racer` server instance * View documentation comments for identifiers (`GetDoc`) +* Management of `racer` server instance ### Java @@ -756,14 +757,14 @@ Quick Feature Summary [feedback](#contact). * Semantic auto-completion with automatic import insertion +* Real-time diagnostic display * Go to definition (`GoTo`, `GoToDefinition`, and `GoToDeclaration` are identical) * Reference finding (`GoToReferences`) -* Real-time diagnostic display -* Renaming symbols (`RefactorRename `) * View documentation comments for identifiers (`GetDoc`) * Type information for identifiers (`GetType`) -* Automatically fix certain errors including code generation (`FixIt`) +* Automatically fix certain errors including code generation (`FixIt`) +* Renaming symbols (`RefactorRename `) * Code formatting (`Format`) * Organize imports (`OrganizeImports`) * Detection of java projects @@ -1640,7 +1641,7 @@ Invoking this command on `s` returns `std::string => std::basic_string` **NOTE:** Causes re-parsing of the current translation unit. Supported in filetypes: `c, cpp, objc, objcpp, cuda, java, javascript, -typescript` +python, typescript` #### The `GetTypeImprecise` subcommand diff --git a/doc/youcompleteme.txt b/doc/youcompleteme.txt index eab09d2d..196ed885 100644 --- a/doc/youcompleteme.txt +++ b/doc/youcompleteme.txt @@ -923,9 +923,9 @@ C-family languages (C, C++, Objective C, Objective C++, CUDA) ~ - Semantic auto-completion with automatic fixes - Real-time diagnostic display - Go to include/declaration/definition (|GoTo|, etc.) -- Semantic type information for identifiers (|GetType|) -- Automatically fix certain errors (|FixIt|) - View documentation comments for identifiers (|GetDoc|) +- Type information for identifiers (|GetType|) +- Automatically fix certain errors (|FixIt|) ------------------------------------------------------------------------------- *youcompleteme-c* @@ -934,19 +934,20 @@ C♯ ~ - Semantic auto-completion - Real-time diagnostic display - Go to declaration/definition (|GoTo|, etc.) -- Semantic type information for identifiers (|GetType|) +- View documentation comments for identifiers (|GetDoc|) +- Type information for identifiers (|GetType|) - Automatically fix certain errors (|FixIt|) - Management of OmniSharp server instance -- View documentation comments for identifiers (|GetDoc|) ------------------------------------------------------------------------------- *youcompleteme-python* Python ~ -- Intelligent auto-completion +- Semantic auto-completion - Go to definition (|GoTo|) - Reference finding (|GoToReferences|) - View documentation comments for identifiers (|GetDoc|) +- Type information for identifiers (|GetType|) ------------------------------------------------------------------------------- *youcompleteme-go* @@ -961,15 +962,15 @@ Go ~ JavaScript and TypeScript ~ - Semantic auto-completion with automatic import insertion +- Real-time diagnostic display - Go to definition (|GoTo|, |GoToDefinition|, and |GoToDeclaration| are identical) - Go to type definition (|GoToType|) - Reference finding (|GoToReferences|) -- Real-time diagnostic display -- Renaming symbols ('RefactorRename ') - View documentation comments for identifiers (|GetDoc|) - Type information for identifiers (|GetType|) - Automatically fix certain errors (|FixIt|) +- Renaming symbols ('RefactorRename ') - Code formatting (|Format|) - Organize imports (|OrganizeImports|) - Management of 'TSServer' server instance @@ -981,8 +982,8 @@ Rust ~ - Semantic auto-completion - Go to definition (|GoTo|, |GoToDefinition|, and |GoToDeclaration| are identical) -- Management of 'racer' server instance - View documentation comments for identifiers (|GetDoc|) +- Management of 'racer' server instance ------------------------------------------------------------------------------- *youcompleteme-java* @@ -992,14 +993,14 @@ Java ~ feedback. - Semantic auto-completion with automatic import insertion +- Real-time diagnostic display - Go to definition (|GoTo|, |GoToDefinition|, and |GoToDeclaration| are identical) - Reference finding (|GoToReferences|) -- Real-time diagnostic display -- Renaming symbols ('RefactorRename ') - View documentation comments for identifiers (|GetDoc|) - Type information for identifiers (|GetType|) - Automatically fix certain errors including code generation (|FixIt|) +- Renaming symbols ('RefactorRename ') - Code formatting (|Format|) - Organize imports (|OrganizeImports|) - Detection of java projects @@ -1890,7 +1891,7 @@ Invoking this command on 's' returns 'std::string => std::basic_string' **NOTE:** Causes re-parsing of the current translation unit. -Supported in filetypes: 'c, cpp, objc, objcpp, cuda, java, javascript, +Supported in filetypes: 'c, cpp, objc, objcpp, cuda, java, javascript, python, typescript' -------------------------------------------------------------------------------