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 262487 - Please add mime type selection for "edit data" in cell
Summary: Please add mime type selection for "edit data" in cell
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-20 09:07 UTC by Christian Lenz
Modified: 2016-06-20 09:07 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 2016-06-20 09:07:11 UTC
In my case, I have a minified css inside a cell, the column called generatedCss. When I double click on the cell, I got the option to "Edit data" which is nice, BUT we have no syntax highlighting, no formatting option, no line numbers etc. So of course it is not possible to get the mime type from the text, because it could be anything, from normal text to whatever. But what could be possible is to integrate the JEditPane with the option to set the mimetype or language (JS, CSS, HTML, Java, etc.) so if you edit data, the popup comes up and you should have a select box to set the language/mime-type for this editor to use everything what you already use in the normal editor. That would make the edit data thing really nice and handy and more fun. For now, I have to copied the text into a new dummy file which I created and format the code, change what I need, and copied back to the cell, this is a pain in the ass.


Cheers

Chris