How to highlight keywords?

Hello,
I have some scripts for view creation stored in files with extension .vw. When I open this view in SQL Developer, keywords are not highlighted probably because SQL Developer doesn't recognize this extension.
Is there any way how to force SQL Developer to highlight the keywords even for filetypes with unknown extension?
Thanks for help, Dan

Hello Jeff,
I finally managed to test this more...
Currently I am using W7 64bit.
1) Open new instance of SQL Developer, go to Tools -> Preferences -> File Types (as Jim mentioned)
What is the purpose of this window? Is it necessary to add the extension of file where I want to highlight the syntax? We are using different extension for different DB objects. So e.g. insert scripts have extension .dat. So lets say, I didn't add the .dat extension into the SQL Developer File Types preferences window and now open some .dat file with insert statements. Should it highlight the syntax or not?
2) Lets say, I want to add the .vw extension. I click the "Add..." button, enter "vw", click OK. New extension is created, File Type is set to "Text Document" and the "Open with SQL Developer" option is checked in the checkbox and in the grid as well...
3) Now I change the File Type to "PL/SQL". The option "Open with SQL Developer" is now unchecked in the checkbox, but still checked in the grid. So I believe you are wrongly actualizing the checkbox or the grid... Confirm the preferences. Then return to the preferences again and uncheck the "Open with SQL Developer" option. Find some file with extension .vw and press Enter. You will get an error message. Notice this message is different from that you get when you try to open file with completly unknown extension (e.g. .xyz). So I also think SQL Developer modified Win registry not fully correctly...
4) Go back to that Preference window and now check the "Open with SQL Developer" option. Confirm. Find some .vw file and press Enter. You will get the "File pathname has changed, reload?" message.
What this means? No matter what you choose, the file is not opened.
5) Now when I open the veiw simply from File -> Open, it is opened as a Worksheet and syntax is highlighted. This is strange because yesterday this was not working. I believe it's because I am playing with this extension so long, so even Developer recognized it ;)
6) To reproduce it, simply choose another extension and check if the syntax is highlighted or not. Now I tested the .dat extension. It is added in the File Types list, File Type is set to SQL Script but the file is still being opened as "Source" so nothing gets highlighted.

Similar Messages

  • How to highlight/indicate particular tree Node in Tree UI element

    Hi All
    Can anybody let us know how to highlight/indicate specific node in a tree struture.
    currently i am able to display the tree struture with all the nodes & elements but it is always tasking firstnode as highlighted one or indicated one.
    if i want to highlight specific node in a tree struture...what was the procedure or any sample code then it would be great help to us.
    Thanks
    Trisha rani

    Hi Krishna
    Thanks for your reply
    I displayed the tree structure and i want to highlight specific parent node/child element , what was the sample code??
    for example my tree was displayed in the below struture and at the runtime specific child node i wanted to be highlighted i want to make selectable particular nodeType......
    Can you pls send sample codee code??
    my requirement
    A
    A1
       A2
       A3
    B
    B1      
       B2
       B3
       B4
       B5     
    now i want to make selectable or highlighted B4,B5 etc  or A2,A3 at runtime.
    The other guy who replied for this thread it is working for Parent nodes to make highlighted  like it is working for parent nodes which is have child nodes. i am able to hightlight at runtime for Nodes A,B etc .
    Now i want to highlight or make selected one for B4,A3 etc, pls provide sample code??
    it  would be great help to us
    Thanks
    Trisha Rani

  • Please give me idea how I highlight the gird row which have

    Sir
    I have gird with 5 column
    Vno
    Code
    Dept
    Date
    Amount
    Sir my need is which record have above 5000 amount that color read and other color blue
    It means above 5000 highlight in grid
    Please give me idea how I highlight the gird row which have above 5000 maount
    Thank
    aamir

    PROCEDURE pr_Set_VA (p_VA IN VARCHAR2) IS
    v_Feld VARCHAR2 (30);
    v_Item VARCHAR2 (61);
    v_Block VARCHAR2 (30);
    BEGIN
    v_Block := :SYSTEM.CURSOR_BLOCK;
    v_Feld := Get_Block_Property (v_Block, FIRST_ITEM);
    WHILE (v_Feld IS NOT NULL) LOOP
    v_Item := v_Block || '.' || v_Feld;
    Set_Item_Instance_Property (v_Item, CURRENT_RECORD, VISUAL_ATTRIBUTE, p_VA);
    v_Feld := Get_Item_Property (v_Item, NEXTITEM);
    END LOOP;
    END;

  • How to change keyword in many pictures at the same time?

    I gave a big series of pictures the wrong keywords. Now, I can't figure out how to change them (besides one by one...).
    If I select e.g. 10 pictures in Library-mode, how to change keywords on them all at the same time?

    Make sure you are in Grid View, primary monitor (if you have two), select 10 pictures and type (or delete) the keywords in the Keywording panel in the left upper corner.
    Make sure the Metadata->Show Metadata for Target Photo Only is unchecked in the menus. Otherwise your edits will only apply to the primary selected (most selected) image.

  • How to highlight the messages in the WDA?

    hi experts,
                     Iam new to Webdynpro.i just want to know how to highlight the texts displayed . like BOLD,italic etc and also colors.
    Regards,
    murthy.

    I dont think you have it via standard message area. Probably you can have a TextView UI element and use the properties Design and semanticColor to achieve this. If you have a contextNode , thats mapped to the texview and message manager writing text to this node. Solution should work.
    Greetings
    Prashant

  • How to highlight a text in Pqges?

    Hi, does anyone knows how to highlight a text in Pages for iPad??

    If you would like to see this very basic function added to Pages for iOS in the future, let the good folks at Apple know of your needs:
    http://www.apple.com/feedback/

  • How Do highlight text in the body of an email message in Mac Mail?

    Can anyone tell if IF and HOW I can highlight text in the body of an email message using Mac Mail (in Yosemite).  I do NOT mean MARKUP an attachment.  I want to highlight a word or phrase in the body of my email message.  I know I can change the font color, but can't seem to add a highlight!  Thanks!

    Hi,
    is is possible, - link is below. Works on Yosemite, btw.
    http://www.mihalick.us/how-to-highlight-text-in-yellow-using-apple-mail/

  • How to highlight the whole row of a particular line item of sale

    How to highlight the whole row of a particular line item of sales order depending on condition?
    Please help its urgent..
    Looking forward your reply.
    Moderator message: please do more research before asking, show what you have done yourself when asking, do not flag posts as "urgent".
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Aug 9, 2011 9:30 AM

    Any ideas on what would cause this NOT to work? I added this row right after the table is created and populated and it is still not highlighted when I enter the form. The snippet of code that does this is:
    MyTableModel modelS = (MyTableModel)dataModel.get("S");
    jTable1 = new JTable(modelS);
    jTable1.setRowSelectionInterval(0,0);MyTableModel is this:
    class MyTableModel extends DefaultTableModel {
      public MyTableModel(Object[] columnNames, int numRows) {
        super(columnNames, numRows);
      public boolean isCellEditable(int row, int column) {
        if (TableKey == 'S') {
          if (column == 6) {
            return false;
        if (TableKey == 'O') {
          if (column == 0 || column == 4 || column == 5) {
            return false;
        if (TableKey == 'P') {
          return false;
      return true;
    }Can anyone help? Thanks.
    Allyson

  • How to highlight text in JTextField?

    Hi all, I know this is a very simple question but I just couldn't find its solution and I'm rushing for my project.
    My question is: how to highlight all the text in JTextField when it gets focus?
    Thanks a lot in advance!
    Janet

    You have to add a FocusListener in the JTextField and override the focusGained() method to select all the text with JTextField.selectAll().
    class MyFrame {
      JTextField text = new JTextField();
      // when creating the frame
      text.addFocusListener(new FocusAdapter() {
        public void focusGained(FocusEvent e) {
          doSelectAllText(); 
      void doSelectAllText() {
        text.selectAll();
    }Hope this help.

  • How to highlight text in the iCloud web app

    Hi,
    My computer recently broke so I had to use my mom's windows computer to do my homework. I had to use the iCloud web app Pages to do my homework. My assignment requires to be able to highlight stuff so does anyone know how to highlight text in the iCloud web apps?

    You can do this easily by using a "modify class" parameter in your web template.
    Following methods are of your interest to change char/KF headers.
    CAPTION_CELL          changes formats/values of characteristic headers
    STRUCTURE_CELL          changes formats/values of key figure headers
    Hope it helps.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • RE: How to export keywords tied to images

    Can someone give me a step by step as to how to export keywords from one computer so that they will be linked to images in an identical folder in another computer? Haven't been able to find a clear answer in this forum.
    Thanks.
    Tice

    Hi Jerome,
    I figured out that a change has to be done to load in the configuration, specifically in the Prepare View Stream component.
    Have you reviewed my comment on this post?
    https://wikis.oracle.com/display/endecainformationdiscovery/Export+View+Configuration
    Hope everything is fine on your side :)
    Thanks
    Matthieu

  • How to highlight the repeated records in a BO crystal report?

    Hi ,
    How to highlight the repeated records in a BO crystal report?
    we want to highlight the rows for which account number is same.
    thanks
    sriram

    You don't even need to create a group.  Just sort the records on the fields that define "duplicate".  Then you can just use
    if {field} = PreviousValue({field}) then crYellow else crNoColor
    in the format's Background Color formula.  This will cause the background to be yellow on duplicates.  (If you need to check more than one field in order to determine duplicates, just insert
    and {field2} = PreviousValue({field2}
    and so on for each field that needs to be checked.
    HTH,
    Carl

  • How to highlight invalid component in custom validator?

    Hi
    I have created a custom validator to verify two DateField components, and the doValidation() is working so far so good.
    The question is, how to highlight the two DateField components when the validation failed?

    The problem is solved by override the actualListeners() to return the two DateFields.

  • Q:  how to highlight PDF created via scanner?

    hi:
    1. i'm going to assume that this is a very basic question but i can't figure out how to highlight text in a PDF file that i created via flatbed scanner.
    2. i have no problem highlighting PDF files that i may have created via the web, but for some unclear reason, when i try to highlight stuff in a PDF file that was created via my scanner, nothing happens.
    thanks for any feedback / suggestions. harry

    >but for some unclear reason, when i try to highlight stuff in a PDF file that was created via my scanner, nothing happens.
    It's very clear. You're trying to highlight text that doesn't exist. It's just a picture of text.
    Google OCR or look for the same topic in the Acrobat help files. You "may" be able to convert it to text. Then you can highlight it.

  • How to highlight tree item ?

    Hello everybody !
    I have a question : how to highlight a tree item on a condition ? (please see the attached vi and the pictures for a clearer explanation of the problem)
    I am using LabView 2014.
    Thank you very much !
    Solved!
    Go to Solution.
    Attachments:
    Highlight_tree_item.vi ‏13 KB

    Have patience.  You only aske the question about 40 minutes earlier.
    You highlight rows like you want by writing values to the tree control.  Don't mess with cell background color.
    Are you trying to highlight multiple items?  If so, then right click on the control and allow it to select 0 or more items.  As soon as you select a mode with the possibility of more than one item, the tree values become an array of strings rather than just a string.  You will need to build an array of strings that you will write to the control's local variable to highlight the multiple items.

Maybe you are looking for

  • How share directory between two Linux nodes?

    Dears,, I am trying to install Oracle RAC on two Linux nodes . . . But i need to make directory shared between the both nodes directory is /ocfs/clusterware I need to make this directory shared between them I mean , if create file in this directory i

  • Converting to Format direct to DVD

    I have some movies I would like to convert so that I can play them on a regular dvd format without bothering to go through iDVD. For these simple files I won't need a start screen or anything - if it just starts automatically - that will be fine.....

  • Error compiling examples from DAQmx Base 3.6 on Scientific Linux 6.4 x86_64

    I installed NAQmx Base 3.6, and it didn't output any errors, but when I try to make the examples given in /usr/local/natinst/nidaqmxbase/examples/ai, it returns a lot of errors (attached). Is there a way to fix this? I also tried just compiling the f

  • Power Query for Excel - RSS Feeds

    Hi All, Is it possible to use Power Query to pull RSS feeds into Excel Thanks Ross

  • HT1918 When I want to Submit payment information there is a messege

    When i bought ipad i didnt have credit card but now i have so i want to change the information of payement but when i do they said this credit card cannot be used in this itunes store please change the information this is crazy im sure that i wrote e