Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.
This repository was archived by the owner on May 25, 2019. It is now read-only.

Autocompletion triggers on all semi-colons in the php scope #92

Open

Description

@alextegelid

The AngularJS package is presenting some rather out-of-context completions for me. This screenshot was taken in a php file (scope: source.php) and the autocompletions suggestions appeared right efter I typed the semi-colon.

This behavior gets kind of in the way of writing multiple lines of php code since instead of getting a new line I get a snippet of an angular attribute.

image

Activity

  1. edbentinck commented on Apr 15, 2016

    @edbentinck

    I just came across the same issue. You should be able to solve it by customising the settings under Preferences -> Package Settings -> AngularJS -> Settings – User as follows:

    {
        "attribute_avoided_scopes": [
            "source.php"
        ]
    }
    

    You can find all customisable properties in Preferences -> Package Settings -> AngularJS -> Settings – Default.

  2. alextegelid commented on Apr 15, 2016

    @alextegelid
    Author

    Thank you @edbentinck, that's a nice workaround. I'll definitely check out the other settings as well. Customization is the best 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions