Commit Graph

448 Commits

Author SHA1 Message Date
micbou
f76c889608
Add regex compilation step to full instructions 2018-05-02 20:59:30 +02:00
micbou
0d764b3d10
Use correct example in smart matching table 2018-04-29 12:59:20 +02:00
micbou
bd0b053cb9
Write table in HTML in docs 2018-04-26 23:25:44 +02:00
micbou
310242e9f1
Update copyright years in docs 2018-04-25 05:09:40 +02:00
micbou
9392f7fd61
Remove MSVC 12 from the supported compilers in docs 2018-04-25 05:09:40 +02:00
micbou
ee3226e1a7
Mention smart-diacritic sensitive matching in docs 2018-04-25 05:09:40 +02:00
micbou
d01c8ac83b
Update Java and TypeScript features in docs 2018-04-25 05:08:23 +02:00
micbou
06bd763bf0
Increase Python 2 requirement to 2.7.1
Tests are failing on Python 2.7.0 with the exception "TypeError: argument can't
be <type 'unicode'>"
2018-04-25 01:43:46 +02:00
zzbot
6975efddc1
Auto merge of #2983 - micbou:gototype-command-docs, r=puremourning
[READY] Add GoToType command to documentation

The `GoToType` command was added a long time ago to the TypeScript completer (see PR https://github.com/Valloric/ycmd/pull/458) but not mentioned in the docs.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2983)
<!-- Reviewable:end -->
2018-04-16 15:47:42 -07:00
zzbot
820affe6d9
Auto merge of #2981 - micbou:remove-unnecessary-lists-docs, r=puremourning
[READY] Remove unnecessary lists and fix options link in docs

Two small improvements to the documentation.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2981)
<!-- Reviewable:end -->
2018-04-11 12:00:21 -07:00
micbou
de8c8f6441
Add GoToType command to documentation 2018-04-08 21:17:10 +02:00
micbou
cacc8e0d92
Remove unnecessary lists and fix options link in docs 2018-04-07 06:01:54 +02:00
micbou
05f7f1c6f0
Remove Java from the GoToImplementation command in docs 2018-04-07 03:56:24 +02:00
micbou
1bda165728
Mention Universal Ctags in docs 2018-04-03 22:20:01 +02:00
micbou
9408ccec5d
Fix Refactoring Commands link in table of contents 2018-03-26 03:08:19 +02:00
micbou
0c22c000ef
Add an entry in the docs about remapping CTRL-R in completion mode 2018-03-11 20:09:46 +01:00
micbou
a80da86542
Remove 7-Zip dependency from Windows instructions 2018-03-09 19:46:25 +01:00
zzbot
9d9c12a192
Auto merge of #2926 - puremourning:fixit-no-quickfix, r=micbou
[READY] Don't open the quickfix window after FixIt/Refactor

# PR Prelude

Thank you for working on YCM! :)

**Please complete these steps and check these boxes (by putting an `x` inside
the brackets) _before_ filing your PR:**

- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.
- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
- [x] I have included tests for the changes in my PR. If not, I have included a
  rationale for why I haven't.
- [x] **I understand my PR may be closed if it becomes obvious I didn't
  actually perform all of these steps.**

# Why this change is necessary and useful

When FixIt was originally implemented, I decided to present the quick fix list containing the set of changes made to the buffers as it was thought this would be helpful and would reassure the user that the changes we made to their code made sense and were safe. Some large part of this decision was paranoia.

Since then we're using fixit code in a lot more places and the feature is pretty mature. I personally find the opening of the quick fix window to be a bit of a pain, and I quickly end up closing it manually to reclaim the space. I have literally never used it to jump to a location that was changed.

I have received recent feedback from users that "Why is it when I do a FixIt, this annoying window appears at the bottom of the screen that I can't get rid of?". Most users who are unhappy with the result of a FixIt can, and do, use the undo command as a matter of habit.

So I propose to just not auto-display the quick fix window anymore for FixIts, Renames, etc. We continue to populate the quick fix list, however, so `:copen` can be used to inspect the results, for those power users that know about quick fix lists.

[cont]: https://github.com/Valloric/YouCompleteMe/blob/master/CONTRIBUTING.md
[code]: https://github.com/Valloric/YouCompleteMe/blob/master/CODE_OF_CONDUCT.md

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2926)
<!-- Reviewable:end -->
2018-02-26 15:12:39 -08:00
micbou
6602b45efe
Prefix commands with python in Windows instructions 2018-02-26 16:45:48 +01:00
Ben Jackson
dc52b73048 Don't open the quickfix window after fixit 2018-02-22 23:02:10 +00:00
micbou
a13329fe94
Add range support to completer command 2018-02-12 01:50:08 +01:00
Ben Jackson
7989b7b0fd Support for additional FixIts on java completions
Java completer can include FixIts which are applied when a completion
entry is selected. We use the existing mechanism implemented for c-sharp
to perform these edits using the CompleteDone autocommand.

However, the existing mechanism relies on pattern matching the source to
work out which item was completed. Vim patch 8.0.1493 introduces support
for user_data on completion items, so when available we populate it with
the completion array index of the item and use that to get the exact
element that was selected. This is both a lot faster and a lot more
accirate.

Of course when applying these 'FixIts' we don't interrupt the user with
confirmation or the quickfix list as this would just be annoying. If the
server reports that an edit must be made, we just make the edit. This is
achieved by adding a silent flag to ReplaceChunks.
2018-02-11 18:11:34 +00:00
Boris Staletic
690a763865 Add documentation for inital experrimental support for Java 2018-02-10 16:29:27 +00:00
Boris Staletic
605ef42cd6 Drop Python 2.6 and Python 3.3 2018-01-30 18:34:50 +01:00
micbou
af5a3ae36e
Move macOS builds to CircleCI 2018-01-20 10:36:18 +01:00
Ben Jackson
cd1bd45dec Signpost the contact details earlier in the README 2017-12-31 22:38:04 +00:00
zzbot
e59e3afcde Auto merge of #2848 - micbou:cs-completer-property-platform, r=bstaletic
[READY] Update MSBuild command in documentation

See PR https://github.com/Valloric/ycmd/pull/884. Also, remove the part where we suggest to replace `msbuild` with `xbuild` since [`xbuild` is deprecated](http://www.mono-project.com/docs/about-mono/releases/5.0.0/#xbuild).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2848)
<!-- Reviewable:end -->
2017-12-26 14:12:16 -08:00
micbou
497a803188
Prompt the user to select a logfile with YcmToggleLogs
When no argument is given to the YcmToggleLogs command, instead of displaying
the list of available logfiles, prompt the user to open (or close if already
open) one of them.
2017-12-22 19:58:29 +01:00
micbou
0f836e8407
Update MSBuild command in documentation
Specify the Platform property in the MSBuild command. Do not mention xbuild.
2017-12-07 15:40:58 +01:00
micbou
103d45fc4c
Update JavaScript documentation 2017-12-01 17:56:12 +01:00
zzbot
e8e144d446 Auto merge of #2825 - mshindal:master, r=micbou
Mention in the docs that you need the exact version of Python that Vim is looking for

# PR Prelude

Thank you for working on YCM! :)

**Please complete these steps and check these boxes (by putting an `x` inside
the brackets) _before_ filing your PR:**

- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.
- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.
- [x] I have included tests for the changes in my PR. If not, I have included a
  rationale for why I haven't.
- [x] **I understand my PR may be closed if it becomes obvious I didn't
  actually perform all of these steps.**

# Why this change is necessary and useful

[Please explain **in detail** why the changes in this PR are needed.]

No tests needed since it's just a README change. Resolves #2824.

[cont]: https://github.com/Valloric/YouCompleteMe/blob/master/CONTRIBUTING.md
[code]: https://github.com/Valloric/YouCompleteMe/blob/master/CODE_OF_CONDUCT.md

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2825)
<!-- Reviewable:end -->
2017-11-28 01:42:16 -08:00
micbou
7e2e1e7d34
Only call completefunc if needed
Do not call user's completion function if the start column is after the current
column or if there are no candidates. This avoids keeping the user in
completion mode even if there is no completion menu.
2017-11-15 18:51:55 +01:00
Matt Shindala
2f093e023b Trim to 80 characters / line, remove from Full Installation Guide 2017-11-13 19:23:23 -05:00
Matt Shindala
b04d703041 Add Python version information in README 2017-11-13 15:28:31 -05:00
micbou
75ecccef90
Update 7-Zip requirement to 16.04 or later 2017-10-26 14:40:38 +02:00
Yogendra Singh
a806f32825 Simple typo fix. 2017-10-22 14:36:56 +05:30
zzbot
cd41727462 Auto merge of #2802 - micbou:auto-insert-wrap, r=bstaletic
[READY] Mention auto-insert wrapping bug in the FAQ

Prior to version 8.0.0127, Vim would insert the first suggestion when leaving completion while auto-wrapping text. See issue https://github.com/vim/vim/issues/1312 and [the corresponding patch](73fd498886). This would cause issues #771 and #2789 when using YCM.

We mention this bug in the FAQ and suggest to update to Vim 8.0.0127 or later.

Closes https://github.com/Valloric/YouCompleteMe/issues/771.
Closes https://github.com/Valloric/YouCompleteMe/issues/2789.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2802)
<!-- Reviewable:end -->
2017-10-14 08:11:30 -07:00
micbou
81be23b59e
Update Rust documentation
Mention rustup to get the Rust source code.
2017-10-10 21:26:47 +02:00
micbou
8429ff28ee
Rename completer options in documentation 2017-10-10 20:25:41 +02:00
micbou
24690b44b0
Mention auto-insert wrapping bug in the FAQ 2017-10-08 11:42:43 +02:00
Moe
af17ae4f07 Grammar/formatting adjusted
- Grammar errors addressed
- Formatting issues addressed
2017-09-29 13:43:54 +02:00
Moe
c85612f464 Added instructions for cmake3
- Updated Linux64 instructions for older systems where cmake(2.8) might be causing compilation issues.
- Using cmake3 may likely address issues (in certain scenarios)
2017-09-28 23:50:37 +02:00
micbou
8817bc1f25
Remove obsolete notes in documentation 2017-09-18 00:02:27 +02:00
micbou
d61944098a
Do not open location list at the bottom of screen
The location list is specific to the current window so it should be opened
inside the current window, not to full width at the bottom of the screen.
2017-09-17 20:34:52 +02:00
micbou
ed9f0b9449
Update extra conf link in documentation 2017-09-10 16:33:24 +02:00
micbou
70121844fe
Add maximum number candidates options to documentation 2017-09-10 16:33:24 +02:00
micbou
a0f110622f
Fix typo in documentation 2017-09-10 12:07:07 +02:00
micbou
f185b4ef12
Update ClearCompilationFlagCache docs 2017-09-05 14:17:39 +02:00
micbou
9f5b45cdc3
Pin YCM extra conf version in documentation 2017-08-01 18:34:56 +02:00
micbou
904c23f7ce
Fix typo in documentation 2017-07-31 23:04:56 +02:00