brackets-archive / bracketsIssues

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

Wish list for features for SVG in Brackets #12425

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by DavidDailey Saturday Nov 02, 2013 at 19:34 GMT Originally opened as https://github.com/adobe/brackets/issues/5831


Hi folks.

VH and NJ just responded [1] to a brief thread on svg-developers at Yahoo, and mentioned that it might be nice to file ideas [about SVG in Brackets] here. I've just glanced at the 43 issues already (apparently) open here found by searching for SVG and have a few, perhaps, to add (as an acknowledged newbie to Brackets).

  1. If I create an SVG (with appropriate contact) inside an HTML document, then things work pretty well with Live Preview, except that whenever new elements (including the SVG itself) are added, it seems to require a "refresh" of the browser window. I can easily, though, modify attributes of existing elements easily and 'live.'
  2. Opening a plain old SVG document in Brackets doesn't seem to work.
  3. Brackets and Chrome seem to recognize without the typical namespace stuff: <svg xmlns="http://www.w3.org/2000/svg" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink" >

Is that standards-compliant? Perhaps my behavior here has become superstitious and is no longer needed?

  1. Clearly SVG-awareness (like suggesting of attribute values or ranges) would be a nice future thing to have.
  2. The ability to preview SVG code in a browser window and then to have interactions within that window result in changes to the SVG code would be nice. What I have in mind here is using something like SVG-Edit [2] running in a window, such that existing elements could be edited, reshaped, dragged etc. and new elements could be added using a WYSIWYG editor. SVG-Edit is an open source project already running in the browser and is actively maintained. I talked to one of its originators who says that such a thing as I propose shouldn't be too difficult. Clearly, some of the more advanced features such as found in Inkscape or Illustrator would be cool to have onboard, as well, but that's a bit far-fetched for now, I suspect.

Perhaps instead of running an SVG-Editor live in the browser, it would be easier to do it with a pop-up of some sort like Ctrl-E in Brackets currently does with the color picker.

I'm sure those who have played with Brackets longer, might have additional things to add to such a list.

cheers, David [1] http://groups.yahoo.com/neo/groups/svg-developers/conversations/messages/66273

[2] http://code.google.com/p/svg-edit/

core-ai-bot commented 3 years ago

Comment by vhardy Sunday Nov 24, 2013 at 00:20 GMT


Hi David,

Have you seen the preview extension that Peter Flynn wrote? Search for "SVG" in the Brackets extension manager (File Menue). It is pretty cool. It does live editing of your svg file right there in Brackets and you can select your zoom factor.

It would be great to get your view after you check-out that extension.

Cheers, -v

core-ai-bot commented 3 years ago

Comment by DavidDailey Sunday Nov 24, 2013 at 20:35 GMT


Hi Vincent. Thanks for the tip. I just started to try it and ran into some problems that I've reported on what I hope is the right place on github.

cheers David


From: vhardy [notifications@github.com] Sent: Saturday, November 23, 2013 7:21 PM To: adobe/brackets Cc: Dailey, David P. Subject: Re: [brackets] Wish list for features for SVG in Brackets (#5831)

Hi David,

Have you seen the preview extension that Peter Flynn wrote? Search for "SVG" in the Brackets extension manager (File Menue). It is pretty cool. It does live editing of your svg file right there in Brackets and you can select your zoom factor.

It would be great to get your view after you check-out that extension.

Cheers, -v

— Reply to this email directly or view it on GitHubhttps://github.com/adobe/brackets/issues/5831#issuecomment-29145433.