From b4648e6c8af9d4a96c19e7493a043d0999ff7bb2 Mon Sep 17 00:00:00 2001 From: Constantin Lebrecht Date: Tue, 23 Oct 2018 11:47:28 +0200 Subject: [PATCH] Add JS file extension to switch to controller action from view - change glob pattern to match js files too --- client/src/language/searchFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/language/searchFunctions.ts b/client/src/language/searchFunctions.ts index d4b9679..0bd681f 100644 --- a/client/src/language/searchFunctions.ts +++ b/client/src/language/searchFunctions.ts @@ -5,7 +5,7 @@ import { ui5tsglobal } from "../extension"; export const viewFileEx = ".view.{xml,json}"; export const namespaceformat = /^(\w+\.?)+\w+$/; -export const controllerFileEx = ".controller.ts"; +export const controllerFileEx = ".controller.{ts,js}"; export const fragmentFileEx = ".fragment.{xml,json}"; export interface IFoundNode {