Code: Select all
args /as args
It should not do that, maybe need fix autocomplete
Code: Select all
args /as args
Code: Select all
args /As args
Error: Line 1: A variable can't be named the same as a keyword: As., "/as" becomes "/As"
It should not do that, maybe need fix autocomplete
Code: Select all
Import "Filename"
FunctionName.<type>(<parameter>, [, <parameter> [= DefaultValue]...]) [As "SymbolName"]
...
VariableName.<type> [As "SymbolName"]
EndImport
HiMarc56us wrote:Code: Select all
args /As args
Error: Line 1: A variable can't be named the same as a keyword: As., "/as" becomes "/As"
It should not do that, maybe need fix autocomplete
'As' is not listed in PB functions/keyword, but is used in Import : EndImportNot a bug, 'As' is a keywordCode: Select all
Import "Filename" FunctionName.<type>(<parameter>, [, <parameter> [= DefaultValue]...]) [As "SymbolName"] ... VariableName.<type> [As "SymbolName"] EndImport
I've tested it. Copying "args /as args" into a string (even if not yet closed), does not modify the caseI see, in fact that behavior did my command line run wrong
ex: RunProgram(cmd$," << paste that line here...
Code: Select all
RunProgram(cmd$," args /as args
HiMarc56us wrote:I've tested it. Copying "args /as args" into a string (even if not yet closed), does not modify the caseI see, in fact that behavior did my command line run wrong
ex: RunProgram(cmd$," << paste that line here...Works as expected: Case correction is disabled when paste text inside (or after) quotation. No bug.Code: Select all
RunProgram(cmd$," args /as args
" ' ; (and some other characters) Disable keyword detection up to the closing character
(Tested 5.71B1 x64 Windows)
Code: Select all
Maybe when i did copy without “ ‘ ; before it, so it did case correction wrong. Maybe not bug but need improve? Did you try similar this feature in https://code.visualstudio.com/ ,best ever code editor
probably we need proof its bug , so it will fix quickly?kenmo wrote:I stand by what I said 3 years ago, Auto-case should only happen when you type a word or auto-complete a word
viewtopic.php?f=3&t=64788
I like your idea! I tried vscode vs notepad++ with python , goback notepad++ ftwMarc56us wrote:No, I haven't tried, I prefer to use the internal editor which is lightweight and has all the tools of the language integrated.Code: Select all
Maybe when i did copy without “ ‘ ; before it, so it did case correction wrong. Maybe not bug but need improve? Did you try similar this feature in https://code.visualstudio.com/ ,best ever code editor
I prefer that IDE does little but do it quickly and well. For the rest, if it reformats to copied/pasted when I forgot a " then I do CTRL+Z