- This topic has 10 replies, 3 voices, and was last updated 20 years, 9 months ago by
bonevich.
-
AuthorPosts
-
Ronald R DiFrangoMemberI noticed, that if I pull in an external file the syntax highlighting does not work properly.
August 30, 2004 at 11:44 pm #214019
Riyad KallaMemberWhat kind of file? What version of Eclipse/ME are you using? What do you mean “pull in”?
August 31, 2004 at 10:01 am #214063
Ronald R DiFrangoMemberI am using Eclipse version 3.0, MyEclipse 3.81 with Fixpack 3. By pull in, I mean I open a SQL Editor window, then I click on open. The file I pull in IS NOT contained within any project within Eclipse, but it is contained in a random [Not really random]. I have found that if the SQL is contained within an Eclipse project though that the highlighting works properly.
August 31, 2004 at 11:04 am #214073
Riyad KallaMemberHere is what I did:
1) Open a table, geneerate SQL
2) Save its contents to a file on my desktop
3) Change the contents of the desktop file
4) Click on “Open” and open the file from my desktop
5) The file opened with correct syntax highlights on the SQL keywords…Is this not the behavior you are seeing? For reference I used the “mysql” table from a default MySQL install.
August 31, 2004 at 1:03 pm #214105
Ronald R DiFrangoMemberThis is the behavior I had, but my query was pretty complex. I have inner tables being created along with several left outer joins, column aliasing, etc.
August 31, 2004 at 1:09 pm #214107
Riyad KallaMemberIs this just a problem with the syntax highlighting, or only when you open an exteranl file?
August 31, 2004 at 1:15 pm #214110
Ronald R DiFrangoMemberJust syntax highlighting. When I execute the query it works just fine.
August 31, 2004 at 2:53 pm #214123
Riyad KallaMemberSorry, what I mean is there something wrong ALWAYS with this script or only when its opened as an external file? I’m trying to determine if the syntax highlighter is having a problem parsing the complexities of your statement or if its just a bad initialization step when the file is opened from outside of the project.
Sorry I should have clarified.
August 31, 2004 at 3:02 pm #214126
Ronald R DiFrangoMemberI think it is when it gets pulled in, I just pulled it from the “SQL History” window and it works fine now. But when I initally pull it in, the highlighting does not work. Maybe it has to do with the file load process.
August 31, 2004 at 3:10 pm #214128
Riyad KallaMemberThank you for the detail, I will ask the dev about it. Do you mind posting the script so we can use it as a test case? If not, can you email it to us at support@genuitec.com with a reference to this thread?
August 31, 2004 at 6:59 pm #214163
bonevichMemberI need to see the script. Also, are there any errors in the Eclipse error log related to the DB Explorer?
To be clear, we are talking about opening an external file, correct? You go to File->Open External File…??
-
AuthorPosts