Git Product home page Git Product logo

sublime-text-harbour-package's Introduction

Sublime-Text-harbour-Package

Sublime Text and Harbour.

Package Last Update = 2020/12/15

This package has Harbour functions with the syntax.

This package has some Harbour functions listed in Petewg/harbour-core/wiki

At this moment they are:

  • Harbour specific core functions. from hb_A* to hb_Z*.

  • Clipper compatible functions. from A to Z.

  • hbWin lib

  • Serial communication port API functions hb_com*()

  • hb_Socket functions

  • hb_ zip functions

  • hb_regex functions

  • Curl functions. (not all, need help with params)

  • mod_harbour functions

  • Added keys to toggle between harbour syntax and html syntax. You can use EMMET in a harbour code. Read about how to do it in the file emmet.md

  • Add emojies to your code 🙂 Hex value 0x1f642. (experimental) The trigger start tiping emo... For now only works on harbour code, as soon as possible will be also with html (Emmet) in prg.

  • MySql functions

  • SQLite3 (harbour wrapper) functions


Thanks to Pete Petewg for the documentation of harbour functions

This project is based on https://github.com/rafathefull/harbour of Rafael Carmona

If you want to add more functions or snippets and/or if you encounter a bug, please create a New Issue

If you want to share ideas, comment something about this software without creating a Issue then go to Discussions

Contributions to this package are welcome.

License MIT

image

image

Installation.

**Expand to see instructions how to install**

Downloading the zip package

  • 1- Download the zip file using the green GitHub button Clone or download select [download zip option] You will get the file Sublime-Text-harbour-Package-master.zip on your PC.
  • 2- Open Sublime Text
  • 3- From Sublime main menu, click on: Preferences > Browse Packages. This will open the windows explorer in the Sublime preferences folder, usually is .\Sublime Text 3\Packages\ .
  • 4- Close Sublime Text 3.
  • 5- Copy, move or drag the downloaded file Sublime-Text-harbour-Package-master.zip to .\Sublime Text 3\Packages\
  • 6- Unzip the package there. This will create a folder named Sublime-Text-harbour-Package-master
  • 7- Rename it to Sublime-Text-harbour-Package
  • 8- Open Sublime, load a file .prg . Click the label on the statusbar at the right corner and select harbour from the list. If the statusbar is hidden then goto Main menu > View > Syntax

From the command line

If you are a git user, you can install it and keep up to date by cloning the repo directly into your Packages directory in the Sublime Text application settings area.

With this method you can get updates of this package using the Git command: git pull from the command line.

  • 1- Open Sublime Text
  • 2- From Sublime main menu, click on: Preferences > Browse Packages. This will open the windows explorer in the Sublime preferences folder, usually is \Sublime Text 3\Packages\
  • 3- Close Sublime Text 3.
  • 4- Open the command prompt here. c:\....\Sublime Text 3\Packages>
  • 5- Copy the following command:
     git clone https://github.com/asistex/Sublime-Text-harbour-Package.git
  • 6- Paste it at the command prompt and press Enter.
  • 7- While Sublime is not running delete the session file .\Sublime Text 3\Local\Session.sublime_session and if exist also delete .\Sublime Text 3\Local\Auto Save Session.sublime_session
  • 8- Open Sublime, load a file .prg . Click the label on the statusbar at the right corner and select harbour from the list. If the statusbar is hidden then goto Main menu > View > Syntax

https://github.com/asistex

Carlos. Asistex

sublime-text-harbour-package's People

Contributors

asistex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sublime-text-harbour-package's Issues

How to prior variables or constante before functions names?

Hello

It's possible to bring priority to the sublime autocompletion for variables and constants before pre-definited functions?

For example:

FUNCTION Main()
local aVec1, aVec2, cVar1

// If i write aVe the suggestion is savescreen, because in this moment, the priority if for pre-defined functions of harbour.

RETURN NIL

Thank you in advance!

endswitch

first of all, thank you very much for this package :)
Could you please add the "endswitch" keyword?
thanks again
Enrico

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.