MVVS: MV Basic for Visual Studio

 View Only
  • 1.  Syntax Highlighting Errors with Strings

    Posted 26 days ago

    In BASIC, strings can be delimited with single quotes, double quotes or back-slashes.  The plug-in doesn't recognize \s as string delimiters.

    Also, multi-line strings aren't allowed, but if there's unmatched quotes, the string syntax highlighting will continue across multiple lines until a matching quote is found.

    This is especially noticeable when \"\ is used to insert a quote into a string.



    ------------------------------
    Raymond DeGennaro
    UV/D3 DBA
    UnitedHealth Group Inc
    Belvidere IL US
    ------------------------------


  • 2.  RE: Syntax Highlighting Errors with Strings

    ROCKETEER
    Posted 24 days ago

    Hi, Raymond.

    Could you please provide a sample code for below? Please also let me know what is your DB name(UV or D3) and account flavor used, then I can double check with dev team to see if we can put this into an enhancement in future, thanks.

    • The plug-in doesn't recognize \s as string delimiters.
    • multi-line strings aren't allowed,
    • This is especially noticeable when \"\ is used to insert a quote into a string.


    ------------------------------
    Chao Han
    Rocket Internal - All Brands
    Dalian CN
    ------------------------------



  • 3.  RE: Syntax Highlighting Errors with Strings

    Posted 20 days ago

    Hi Chao:

    thanks for create plugins for vscode and I have used it every day. 

    I have one example syntax error below:

    THIS.LN = '{'

    THIS.LN := \"date":"\:THIS.DATE:'",' ;* Caused plugIn syntax error
    THIS.LN := '}'


    ------------------------------
    libin xie
    Tech Lead
    Rocket Forum Shared Account
    ------------------------------



  • 4.  RE: Syntax Highlighting Errors with Strings

    ROCKETEER
    Posted 20 days ago

    Hi, Libin.

    Thanks for the update and I just tried it out with your sample code, but I didn't see a syntax error with below code, is that possible to log a support case for this? then we can start a WebEx meeting to take a look, thanks.



    ------------------------------
    Chao Han
    Rocket Internal - All Brands
    Dalian CN
    ------------------------------