-
Notifications
You must be signed in to change notification settings - Fork 31
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
"Send Asset" vs "Send Selected Asset" in assets folder #74
Comments
Ahah! I figured out what the problem was. It turns out that the command was working if you selected it from the menu, but the keyboard shortcut wasn't working because it was set up with a too narrow scope of On a related note, though, if you try to upload a blank text file (whether its html, js, or whatever), the bundle thinks that you're trying to upload an image and throws the message: |
Okay... removing the scope broke things. I got it working properly by changing the scope for "Send Asset to Shopify" from |
hi @timdmackey glad to see you managed to figure it out. Yes, I don't make those scopes (source.css, source.js) because its overly broad - so its left to the user to add those if they want. re: the error message- there was a case where it could be reached - i probably misspeak when i refer to images |
Ah, thanks @meeech. I see what you mean about the scope. As far as textmate bundles go, I'm only really familiar with snippets, I don't really know how scopes and language syntaxes are defined. That being said, how hard would it be to define a |
@timdmackey yeah, that would be a good solution.Its not hard if you know TM language syntax well. Unfortunately, i don't, and it's never been a priority. PRs for this are welcome. |
Hey meech,
Thanks for the awesome bundle, I can't tell you how much pain this has saved me from.
I have a question about uploading files to Shopify. Why is it that javascript and css assets in the assets folder can't be uploaded using the simple "Send Asset" commend, which sends the frontmost document? As I'm usually switching back and forth between at least a couple files at a time, it can be a pain to have to select the proper files in the sidebar before uploading with "Send Selected Assets." I often find myself wondering why the heck my changes aren't being reflected in my store, until I realize that I have the wrong file selected in the sidebar.
Is this something that can be changed?
The text was updated successfully, but these errors were encountered: