Skip to content

False Scopes in SQL/String #44290

Closed
Closed

Description

  • VSCode Version: 1.20.1
  • OS Version: Win10

If inline SQL-Strings have for example PHP-Variables inside, the scope afterwards is no more recognized as SQL:

false-scopes fw

There should be only 2 cases which behave consistent: Wheter the SQL-Part inside a string should be treated as a string-scope or SQL-scope - not both.

Currently the first LEFT JOIN has scope keyword.other.DML.sql and on the next line string.quoted.single.php

Activity

  1. roblourens commented on Mar 8, 2018

    @roblourens
    Member

    Filed upstream: atom/language-php#318

  2. added
    upstream
    on Mar 8, 2018
  3. added this to the Backlog milestone on Oct 27, 2019
  4. roblourens commented on Dec 13, 2022

    @roblourens
    Member

    Since the upstream project has been archived, merging this into the general issue for a new SSH grammar. #162707

  5. locked and limited conversation to collaborators on Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

phpupstream

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions