This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252927 - Should be possible to upload a file inside the editor
Summary: Should be possible to upload a file inside the editor
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-11 09:06 UTC by Christian Lenz
Modified: 2015-06-11 14:04 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2015-06-11 09:06:46 UTC
It is possible to upload/download/sync files when you right click on a file in the project node or when you right click on the Source Folder. This is very nice and works as expected.

What I would like to see are the same options for one file right inside the editor. I don't use the "Upload File on Save" I do it manually but I would like to do it after writing code, save and than upload it, if I want to. For this I have to switch to the project tab, and right click on it. It would be better if I can choose the option in the context menu, when I use the context menu inside the editor where the file is open. Please add all 3 options for Upload, Download and Sync file into the context menu, in the editor.


Regards

Chris
Comment 1 Ondrej Brejla 2015-06-11 09:14:58 UTC
Tome? :)
Comment 2 Tomas Mysik 2015-06-11 09:36:43 UTC
This is a bit tricky to implement, popup menu for the editor area is defined per file MIME types and not per projects. It means that we would need to add it for PHP, HTML, CSS, JS, ??? files; in other words, there is no easy way to define it for all files in the given PHP project (unlike the Projects view where this can be easily done).

However I would recommend you to specify a shortcut for these actions in Tools > Options > Keymap, it should be even easier and faster to use then ;) Just edit your file, save it and invoke the desired action.

Thanks.
Comment 3 Christian Lenz 2015-06-11 14:04:46 UTC
Hm ok, I'm fine with that. Thx. Maybe you think about to support editor ections for project types too ;).

Thx.