Giter Site home page Giter Site logo

oracle.tmbundle's People

Contributors

danielmcq avatar eggplantpasta avatar jpangborn avatar mulander avatar mwolfindale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

oracle.tmbundle's Issues

Type Capture not Highlighting Entity Name

The capture for highlighting Types doesn't work correctly. The regex, (?i)\b(type)\s+"([^"]+)", isn't matching TYPE definitions. (But TYPE is also a Keyword, so the word TYPE is still being highlighted.)

Example 1 - Type Definition in a Package:

TYPE tzrakhd_ref IS REF CURSOR RETURN tzrakhd_rec;

The word TYPE is highlighted, matching the keyword, but tzrakhd_ref is not highlighted as the entity name.

Example 2 - User Defined Type:

CREATE OR REPLACE TYPE schema.testtype

Again the word TYPE is highlighted, but schema.testtype isn't.

I have tried a few regex variations to get the correct match, but haven't found one that works.

(?i)\b(type)\s+(\S+)

This one correctly matches both examples above, but incorrectly highlights the following example.

Example 3 - Function or Procedure Parameter definition:

p_hold_id tzrakhd.tzrakhd_hold_id%TYPE DEFAULT NULL,

The word TYPE is correctly highlighted, but the word DEFAULT gets highlighted as an entity name instead of as a keyword.

(?i)\s+\b(type)\s+(\S+)

This one correctly highlights Example 1 and 3, but doesn't highlight Example 2 correctly.

I am willing to test any Regex suggestions that might correctly match. If we could get the Type capture to match correctly, I would recommend changing the TYPE and ROWTYPE keywords to %TYPE and %ROWTYPE to be consistent with %ISOPEN, %FOUND, %NOTFOUND, and %ROWCOUNT attributes.

There is no instruction on how to use your package

Hi, I'm new to sublime text 3 but I can already see how awesome it is, but to write plsql code, your plugins is really helpfull but I have no idea how to setup the connection and make the file execute. Could you help me a little ?

Your help is really appreciated

Would you consider re-licensing this repository?

Hello there, we'd love to use this library to syntax-highlight files on GitHub but in order to do so we need this library to have a more permissive license.

If you don't have any particular reason for choosing GPL would you be willing to consider switching this to a more permissive license such as MIT, BSD or Apache 2?

Many thanks
Arfon (GitHub Staff)

Case preference for snippets

Would it be possible to add a preference to control the case of snippets at time of insert? For example, with my coding style I'd like them to all be lower case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.