pulse00 / Twig-Eclipse-Plugin

Eclipse plugin for the twig templating language.
twig.dubture.com
MIT License
107 stars 24 forks source link

New Twig template does not create file in selected folder #62

Closed Ymox closed 12 years ago

Ymox commented 12 years ago

Hello,

When I try to create a new Twig template from the Project Explorer, by right clicking on the folder in which I want to create the template, the chosen folder is not given in the path. I chose it by browsing my project, fill in the form, and then click on "Finish". Even if I told that I wanted the file to be created somewhere, it is always put in the app folder of my Symfony 2 projects.

Furthermore, when I try to move it by "drag'n'dropping" from app to another folder, I'm asked once again where I want to move the file, and need to browse again the project to select the destination…

Sorry if this is not related to the plugin.

I'm using latest versions of Eclipse Indigo and Symfony plugins on Mac OS 10.6.8

pulse00 commented 12 years ago

The drag and drop dialog when moving files has nothing to do with the twig plugin, it's an "feature" of the underlying DLTK platform. If you move php files this way (or even js files), the same dialog appears.

For the Folder issue: Can you make sure the folder you want to create the twig template into is in the build path?

Ymox commented 12 years ago

Thanks for pointing that build path thing, many of my bundles created with the CLI were indeed not in, and after correcting that, no problems any longer to create templates in the chosen folder.