Skip to content

Can't match multiline occurrences #10588

@ahmetb

Description

@ahmetb
  • VSCode Version: 1.4.0

Steps to Reproduce:

In the image below you can see that the highlighted text actually appears 3 times but it can't match it once the highlighted part spans multiple lines.

image

SublimeText works fine in this situation.

in case it helps, the file is here

        "master": {
            "publisher": "Microsoft.OSTCExtensions",
            "type": "CustomScriptForLinux",
            "typeHandlerVersion": "1.4",
        "autoUpgradeMinorVersion": true,
            "settings": {
              "fileUris": "[variables('centosScripts')]",
              "commandToExecute": "[concat('bash elasticsearch-centos-install.sh -xn ', variables('esSettings').clusterName, ' -v ', variables('esSettings').version, ' -d ', variables('esSettings').discoveryHosts, variables('marvelParamValue'), variables('jmeterParamValue'), variables('cloudAzureParamValue'), variables('marvelExportParamValue'), variables('afsParamValue'))]"
            }
          },
        "client": {
            "publisher": "Microsoft.OSTCExtensions",
            "type": "CustomScriptForLinux",
            "typeHandlerVersion": "1.4",
        "autoUpgradeMinorVersion": true,
            "settings": {
              "fileUris": "[variables('centosScripts')]",
              "commandToExecute": "[concat('bash elasticsearch-centos-install.sh -yn ', variables('esSettings').clusterName, ' -v ', variables('esSettings').version, ' -d ', variables('esSettings').discoveryHosts, variables('marvelParamValue'), variables('jmeterParamValue'),  variables('cloudAzureParamValue'),variables('marvelExportParamValue'), variables('afsParamValue'))]"
            }
          },
        "data": {
          "publisher": "Microsoft.OSTCExtensions",
          "type": "CustomScriptForLinux",
          "typeHandlerVersion": "1.4",
      "autoUpgradeMinorVersion": true,
          "settings": {
            "fileUris": "[variables('centosScripts')]",
            "commandToExecute": "[concat('bash elasticsearch-centos-install.sh -zn ', variables('esSettings').clusterName, ' -v ', variables('esSettings').version, ' -d ', variables('esSettings').discoveryHosts, variables('marvelParamValue'), variables('jmeterParamValue'),  variables('cloudAzureParamValue'),variables('marvelExportParamValue'), variables('afsParamValue'))]"
          }
        },

Metadata

Metadata

Assignees

Labels

editor-findEditor find operationsfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions