Sublime Forum

Image Suggestion

#1

How can I have image suggestion as I type in?

It’s time consuming to check image folder again & again, & write down exact same name & format in code to show them. It would be great if I can have the feature to write “img/” in source code and it displayed me all the images available in img folder so I can easily select them image I need.

0 Likes

#2

I still did not get this fully working on my Sublime Text. But you can give a try on the package: https://packagecontrol.io/packages/FuzzyFilePath

1 Like

#3

It’s putting a “” sign before which is not needed and so image source is not working.

It should be:
<img src=“img/logo _2.png”

It is giving:
<img src="/img/logo _2.png"

Can I solve this by any means? Or please suggest an alternative way/package; thanks!

0 Likes

#5

An alternate package would be AutoFineName, however I it is not working as I expect. I should fix this sometime on my for of it: https://github.com/evandrocoan/AutoFileName

For now you can try looking into the FuzzyFileSearch issue tracker and wiki to see if you can find a related issue or a fix for it:

  1. https://github.com/sagold/FuzzyFilePath/issues
  2. https://github.com/sagold/FuzzyFilePath/wiki

If you could not find anything related, you can open a issue about it, or try to fix the code by yourself. I would suggest you to try to learn python and fix it because in my opinion there are lot of packages for Sublime Text which need some fixing at something. Then if you learn fixing them, you do not need to wait for someone else. Also, you would be contributing for the open source community helping it become better source of good packages.

1 Like

#6

I have looked for solutions and did not find any. So created a new issue…

I have discovered something new…
If I have a parent folder added in ST3 and the index.html as a children of parent folder, it sources all the way from parents as you can see here…

PS: I have not made any change in settings of the package.

It would be great if you can fix the package or find an alternative solution; many thanks! :slight_smile:

0 Likes

#7

It seems to be use full paths to the image file. Perhaps there is a setting to control this behavior.

I would have already fixed if I was using it. Moreover, I only fix by need, i.e., when I need to use it and it is not working as I expect. But for now I did not needed to use it. Nowadays, I am already fixing other things and creating other packages I need.

But if sometime I need to use it and it still not fixed, I would fix it. But until there, perhaps the original author can fix, or there is a setting of some sort to control this behavior or it is already working correctly, a.k.a, working as expected.

1 Like

#8

It would be great if you can fix, I believe it would benefit thousands of users…

If you dont mind, can I see the packages you have creates? Just curious :slight_smile:

0 Likes

#9

You can just look on my GitHub page: https://github.com/evandrocoan

You can see what I have been working this month if you hit this button:

1 Like