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

Completion doesn't show after some word preceded by *, (, [ #33

Open
edwarmv opened this issue Apr 29, 2021 · 1 comment
Open

Completion doesn't show after some word preceded by *, (, [ #33

edwarmv opened this issue Apr 29, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@edwarmv
Copy link

edwarmv commented Apr 29, 2021

Describe the bug
For example the attribute completion only shows after insert [, but if i'm already inside square brackets the completion doesn't show or if i delete some characters and i want to trigger completion

To Reproduce
Steps to reproduce the behavior:

  1. Inserts [ goes to normal mode and returns to insert mode and try to trigger completion

Expected behavior
Completion should appear even after [, (, * has been inserted.

Screenshots
image
image

Desktop (please complete the following information):

  • OS: macOS

Log:

[Trace - 4:59:10 PM] Sending request 'textDocument/completion - (2)'.
Params: {
    "textDocument": {
        "uri": "file:///Users/edwar/Documents/taller/estrella-cliente/src/app/components/deliveries/repartidores/repartidores.component.html"
    },
    "position": {
        "line": 7,
        "character": 7
    },
    "context": {
        "triggerKind": 1
    }
}


[Trace - 4:59:10 PM] Received response 'textDocument/completion - (2)' in 8ms.
Result: [
    {
        "label": "class",
        "kind": 10,
        "detail": "attribute",
        "sortText": "class",
        "textEdit": {
            "range": {
                "start": {
                    "line": 7,
                    "character": 5
                },
                "end": {
                    "line": 7,
                    "character": 7
                }
            },
            "newText": "class"
        },
        "data": {
            "kind": "ngCompletionOriginData",
            "filePath": "/Users/edwar/Documents/taller/estrella-cliente/src/app/components/deliveries/repartidores/repartidores.component.html",
            "position": {
                "line": 7,
                "character": 7
            }
        }
    },
    {
        "label": "ngClass",
        "kind": 10,
        "detail": "attribute",
        "sortText": "ngClass",
        "textEdit": {
            "range": {
                "start": {
                    "line": 7,
                    "character": 5
                },
                "end": {
                    "line": 7,
                    "character": 7
                }
            },
            "newText": "ngClass"
        },
        "data": {
            "kind": "ngCompletionOriginData",
            "filePath": "/Users/edwar/Documents/taller/estrella-cliente/src/app/components/deliveries/repartidores/repartidores.component.html",
            "position": {
                "line": 7,
                "character": 7
            }
        }
    },


@edwarmv
Copy link
Author

edwarmv commented Apr 30, 2021

i found that disabling coc-html coc-angular works as expected, apparently coc-angular and coc-html clash with each other

@iamcco iamcco added the help wanted Extra attention is needed label Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants