Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i disable doing completion with current file's word? #1557

Closed
liugangnhm opened this issue Jun 29, 2015 · 2 comments
Closed

how can i disable doing completion with current file's word? #1557

liugangnhm opened this issue Jun 29, 2015 · 2 comments

Comments

@liugangnhm
Copy link

some times, current file's other word's is useless for then current code block.for example in golang

func main() {
    go mywork()

    waitChan := make(chan os.Signal)
    signal.Notify(waitChan, os.Interrupt, os.Kill)
    <-waitChan
}

func mywork() {
    tick := time.NewTicker(1 * time.Second)
    for {
        select {
        case <-tick.C:
            fmt.Println("tick", time.Now().UnixNano())
        }
    }
}

func f1() {
ll
}

in function f1 when i type 'll', kill will be show in completion list,but kill does not concern with the context. i want to disable this feature sometimes. what should i do?

@Valloric
Copy link
Member

Please see CONTRIBUTING.md.

@liugangnhm
Copy link
Author

all right,i'll move this to google group later.

puremourning added a commit to puremourning/YouCompleteMe that referenced this issue Apr 29, 2021
eaea7553 Merge pull request ycm-core#1557 from bstaletic/conditional-absl
b69b980d Merge pull request ycm-core#1565 from magras/fix-double-find-executable-call
a12b2014 Merge pull request ycm-core#1564 from puremourning/quiet-build-single-line
2fb2038e Merge pull request ycm-core#1559 from AP2008/try-submodule-update
b7986d4d Merge pull request ycm-core#1555 from bstaletic/log-trim
ef2cab84 Merge pull request ycm-core#1556 from AP2008/add-msys-support
d9f84560 Merge pull request ycm-core#1553 from bstaletic/rust-analyzer-borked
a33969b0 Merge pull request ycm-core#1554 from bstaletic/sig-help-offset-fix
puremourning added a commit to puremourning/YouCompleteMe that referenced this issue May 1, 2021
In latest-first-order:

45f89b336 Merge pull request ycm-core#1566 from bstaletic/msvc-warnings
94999c6b0 Revert "Merge pull request ycm-core#1559 from AP2008/try-submodule-update"
eaea7553 Merge pull request ycm-core#1557 from bstaletic/conditional-absl
b69b980d Merge pull request ycm-core#1565 from magras/fix-double-find-executable-call
a12b2014 Merge pull request ycm-core#1564 from puremourning/quiet-build-single-line
2fb2038e Merge pull request ycm-core#1559 from AP2008/try-submodule-update
b7986d4d Merge pull request ycm-core#1555 from bstaletic/log-trim
ef2cab84 Merge pull request ycm-core#1556 from AP2008/add-msys-support
d9f84560 Merge pull request ycm-core#1553 from bstaletic/rust-analyzer-borked
a33969b0 Merge pull request ycm-core#1554 from bstaletic/sig-help-offset-fix
puremourning added a commit to puremourning/YouCompleteMe that referenced this issue May 1, 2021
In latest-first-order:

45f89b336 Merge pull request ycm-core#1566 from bstaletic/msvc-warnings
94999c6b0 Revert "Merge pull request ycm-core#1559 from AP2008/try-submodule-update"
eaea7553 Merge pull request ycm-core#1557 from bstaletic/conditional-absl
b69b980d Merge pull request ycm-core#1565 from magras/fix-double-find-executable-call
a12b2014 Merge pull request ycm-core#1564 from puremourning/quiet-build-single-line
2fb2038e Merge pull request ycm-core#1559 from AP2008/try-submodule-update
b7986d4d Merge pull request ycm-core#1555 from bstaletic/log-trim
ef2cab84 Merge pull request ycm-core#1556 from AP2008/add-msys-support
d9f84560 Merge pull request ycm-core#1553 from bstaletic/rust-analyzer-borked
a33969b0 Merge pull request ycm-core#1554 from bstaletic/sig-help-offset-fix
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants