Page 1 of 2
Sublime Text 2
Posted: Thu Feb 23, 2012 8:12 pm
by xorc1zt
I made a plugin for
sublime text 2 (Windows ver. only)
- auto completion ( functions and constants )
- automatic build
- handle build errors
- colors
- automatic indentation
- snippets for procedure, structure, if else, ...
link :
http://demo.ovh.com/en/a6ec30ca079cdb8d ... 2d689d717/
Re: Sublime Text 2
Posted: Thu Mar 01, 2012 7:08 pm
by kvitaliy
Error 404: The requested document cannot be found.

Re: Sublime Text 2
Posted: Thu Mar 01, 2012 7:23 pm
by xorc1zt
Re: Sublime Text 2
Posted: Thu Mar 01, 2012 7:47 pm
by aaron
Nicely done. Sublime Text is an amazing editor. Happy to be able to PureBasic from it now.
Re: Sublime Text 2
Posted: Wed Mar 07, 2012 7:15 pm
by Zach
Wow that looks nice
Re: Sublime Text 2
Posted: Sun Jan 26, 2014 2:37 pm
by hallodri
Does anyone have this file?
Re: Sublime Text 2
Posted: Thu Mar 06, 2014 11:41 pm
by rambodash
Re: Sublime Text 2
Posted: Mon Mar 17, 2014 5:36 pm
by hallodri
Woooh! Thank you!

Re: Sublime Text 2
Posted: Tue Mar 18, 2014 2:01 pm
by GG
Does it work for Sublime Text 3 ?
Do you know the method to install it ? Same thing as v2 and v3 ?
Re: Sublime Text 2
Posted: Tue Mar 18, 2014 9:18 pm
by hallodri
Yes, it also works under version 3
Install the files under "Sublime3\Data\Packages\PureBasic".
Re: Sublime Text 2
Posted: Wed Mar 19, 2014 11:54 am
by GG
Thanks Hallodri, that's better. Colors are OK.
But when I build, I've got the following errors :
DPI scale: 1
startup, version: 3059 windows x32 channel: stable
executable: /D/Applications/Sublime Text 3.0 Build 3059/sublime_text.exe
working dir: /D/Applications/Sublime Text 3.0 Build 3059
packages path: /D/Applications/Sublime Text 3.0 Build 3059/Data/Packages
state path: /D/Applications/Sublime Text 3.0 Build 3059/Data/Local
hardware concurrency: 2
zip path: /D/Applications/Sublime Text 3.0 Build 3059/Packages
zip path: /D/Applications/Sublime Text 3.0 Build 3059/Data/Installed Packages
found 3 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 2 files for base name Main.sublime-menu
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
wrote startup cache, added files: 6 orphaned files: 0 total files: 149 cache hits: 143
pre session restore time: 0.202216
startup time: 0.218216
first paint time: 0.218216
unable to auto detect encoding for C:\Projets GG\Purge\Copie (2) de Purge.pb, using fallback encoding Western (Windows 1252)
Unable to fetch update url contents
launching: /D/Applications/Sublime Text 3.0 Build 3059/plugin_host.exe
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin PureBasic.PureBasic
Traceback (most recent call last):
File "D:\Applications\Sublime Text 3.0 Build 3059\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 854, in _load_module
File "<frozen importlib._bootstrap>", line 981, in get_code
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "D:\Applications\Sublime Text 3.0 Build 3059\Data\Packages\PureBasic\PureBasic.py", line 110
global compilerprocess
^
TabError: inconsistent use of tabs and spaces in indentation
plugins loaded
loaded 850 snippets
Unable to find target command: buildpb
Unable to find target command: buildpb
unable to auto detect encoding for C:\Projets GG\Purge\Copie (2) de Purge.pb, using fallback encoding Western (Windows 1252)
Unable to find target command: buildpb
Unable to find target command: buildpb
Unable to find target command: buildpb
Unable to find target command: buildpb
Any idea ?
Re: Sublime Text 2
Posted: Wed Mar 19, 2014 7:08 pm
by hallodri
Try this
http://pastebin.com/YDgNWQXw and add it in PureBasic.py
Re: Sublime Text 2
Posted: Tue Dec 08, 2015 1:54 pm
by Wolfram
Hi, can some one help me to make it running on OSX?
Re: Sublime Text 2
Posted: Thu Jan 07, 2016 5:53 pm
by fryquez
Seems all links are either down or private.
Can anyone upload this plugin again, please?
Re: Sublime Text 2
Posted: Thu Jan 07, 2016 7:19 pm
by hallodri