Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Using x-tags with Brackets #11333

Open
core-ai-bot opened this issue Aug 30, 2021 · 4 comments
Open

[CLOSED] Using x-tags with Brackets #11333

core-ai-bot opened this issue Aug 30, 2021 · 4 comments

Comments

@core-ai-bot
Copy link
Member

Issue by brendonmm
Wednesday May 31, 2017 at 03:48 GMT
Originally opened as adobe/brackets#13405


Hello,

I'm testing the use of x-tags for an extension in Brackets that shows the clock inside the editor. To do this, I followed the Extensions examples and applied the basic x-clock code directly to the Extension I made. On Windows it works normally, but in Linux doesn't work.

image

elementaryOS:

image

Windows:

image

I was wondering if it would be a Brackets issue, or x-tags, or even OS, so I'm posting here first.`Thank you.

This is the error that shows in Brackets:

image

elementaryOS 0.4.1 Loki and/or Ubuntu 16.04
Release 1.9 experimental build 1.9.0-17312

@core-ai-bot
Copy link
Member Author

Comment by ficristo
Wednesday May 31, 2017 at 19:36 GMT


If doesn't work on Linux, it is possibly related to the version of shell used there.
Brackets is still running Chrome 29 on Linux.

@core-ai-bot
Copy link
Member Author

Comment by brendonmm
Wednesday May 31, 2017 at 21:49 GMT


Got it. What I found weird is that x-tags' site tells that it supports all versions of Chrome.

image

I noticed that the shell used was an old one, although I opened DevTools inside my current Chrome, which has the updated version, not 29.

Is there any version of Brackets in Linux with newer shell? I can install via npm if necessary. Or a forecast for an update on Linux?

@core-ai-bot
Copy link
Member Author

Comment by ficristo
Thursday Jun 01, 2017 at 18:46 GMT


You could use https://github.com/zaggino/brackets-electron on Linux, which use electron as the shell instead of cef.

According to http://caniuse.com/#search=registerElement, registerElement is supported since Chrome 33.
But custom element were supported since Chrome 27 but behind a flag.
So maybe you can try to launch Brackets with that flag.
I think something like brackets --enable-experimental-web-platform-features
(I don't know if that will work, nor if the flag is correct...)

Probably@saurabh95 know the situation regarding the shell on Linux.

@core-ai-bot
Copy link
Member Author

Comment by ficristo
Tuesday Sep 26, 2017 at 18:57 GMT


This should have been fixed by adobe/brackets-shell#619
Now Linux build run on Chrome 51.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant