brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

NativeApp openURLInDefaultBrowser doesn't work with variable arguments #14816

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by RishiMenon2004 Tuesday Dec 08, 2020 at 04:36 GMT Originally opened as https://github.com/adobe/brackets/issues/15284


So, I decided to write an extension, and I hit a snag while trying to use the NativeApp module's function openURLInDefaultBrowser. NativeApp.openURLInDefaultBrowser(generateURL(currentEditorText)); doesn't seem to open a tab or a window in the default browser. I'm on a mac with OSX 10.14.6, and the browser is Opera GX. Brackets : Release 1.14 build 1.14.2-17770 (release-1.14.2 f71f00acc).

core-ai-bot commented 3 years ago

Comment by RishiMenon2004 Tuesday Dec 08, 2020 at 04:47 GMT


oh and openLiveBrowser doesn't work either

core-ai-bot commented 3 years ago

Comment by RishiMenon2004 Wednesday Dec 09, 2020 at 17:16 GMT


._. it's working now, idfk why, sorry for the trouble if any

core-ai-bot commented 3 years ago

Comment by RishiMenon2004 Wednesday Dec 09, 2020 at 17:29 GMT


Ok, so, it doesn't work when I use variables as the argument for the URL, but when I use direct strings it does