Open larmcr opened 2 years ago
VS Code:
{ "workbench.iconTheme": "material-icon-theme", "workbench.colorTheme": "Nord", "editor.fontFamily": "Courier New", "editor.fontSize": 15, "editor.tabSize": 2, "editor.renderWhitespace": "all", "dateTime.customFormat": "[ww]ww.d - dddd, MMMM Do, YYYY", "git.enableSmartCommit": true, "diffEditor.ignoreTrimWhitespace": true, "explorer.sortOrder": "type", "markdown-pdf.format": "Letter", "markdown-pdf.headerTemplate": "<div style=\"font-size: 1px; margin: 0 auto;\"></div>", "markdown-pdf.breaks": true, "terminal.integrated.rendererType": "dom", "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true, "explorer.confirmDelete": false, "editor.minimap.enabled": false, "[go]": { "editor.insertSpaces": false, "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": true } }, "terminal.integrated.tabs.enabled": true, "terminal.integrated.tabs.location": "left", "terminal.integrated.defaultProfile.windows": "C:\\windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe (migrated)", "workbench.startupEditor": "newUntitledFile", "git-graph.dialog.fetchRemote.prune": true, "go.toolsManagement.autoUpdate": true, "terminal.integrated.profiles.windows": { "C:\\windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe (migrated)": { "path": "C:\\windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "args": [] } }, "workbench.editorAssociations": { "*.ipynb": "jupyter-notebook", "git-rebase-todo": "gitlens.rebase" }, "notebook.cellToolbarLocation": { "default": "right", "jupyter-notebook": "left" }, "diffEditor.maxComputationTime": 0, "workbench.sideBar.location": "right", "extensions.ignoreRecommendations": true, "editor.foldingMaximumRegions": 10000, "window.zoomLevel": 1, "editor.fontWeight": "normal", // "[javascript]": { // "editor.defaultFormatter": "vscode.typescript-language-features" // }, }
Format javascript file with HookyQR.beautifyFile command:
HookyQR.beautifyFile
((a, b) => { return a &&= b })(true, false)
&& and = should not include any space (valid syntax):
&&
=
Space between && and = (invalid syntax) :
((a, b) => { return a && = b })(true, false)
VS Code:
Action performed
Format javascript file with
HookyQR.beautifyFile
command:Expected results
&&
and=
should not include any space (valid syntax):Actual results
Space between
&&
and=
(invalid syntax) :