Raised This Month: $7 Target: $400
 1% 

SourcePawn Syntax Highlighting


Post New Thread Reply   
 
Thread Tools Display Modes
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 03-17-2013 , 08:30   Re: SourcePawn Syntax Highlighting
Reply With Quote #11

Sourcepawn for SublimeText 3
__________________
ppalex is offline
axiom123
Member
Join Date: May 2013
Location: Ukraine, Kiev
Old 06-27-2014 , 09:51   Re: SourcePawn Syntax Highlighting
Reply With Quote #12

Quote:
Originally Posted by ppalex View Post
How to make auto-complete work on linux?
axiom123 is offline
Send a message via ICQ to axiom123 Send a message via Skype™ to axiom123
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 06-28-2014 , 08:52   Re: SourcePawn Syntax Highlighting
Reply With Quote #13

Quote:
Originally Posted by axiom123 View Post
How to make auto-complete work on linux?
Did you have any errors in sublime text console? (ctrl+`)
__________________
ppalex is offline
axiom123
Member
Join Date: May 2013
Location: Ukraine, Kiev
Old 06-28-2014 , 13:24   Re: SourcePawn Syntax Highlighting
Reply With Quote #14

yes
Code:
reloading plugin Sourcepawn.SPCompletions
Traceback (most recent call last):
  File "/opt/sublime_text/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 869, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/SPCompletions.py", line 24, in <module>
    import Sourcepawn.watchdog.observers
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/watchdog/observers/__init__.py", line 60, in <module>
    from Sourcepawn.watchdog.observers.inotify import InotifyObserver as _Observer
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/watchdog/observers/inotify.py", line 148, in <module>
    class InotifyConstants(object):
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/watchdog/observers/inotify.py", line 184, in InotifyConstants
    IN_ALL_EVENTS = reduce(lambda x, y: x | y, [
NameError: name 'reduce' is not defined
skype: nyb4ik1

Last edited by axiom123; 06-28-2014 at 13:25.
axiom123 is offline
Send a message via ICQ to axiom123 Send a message via Skype™ to axiom123
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 06-28-2014 , 15:55   Re: SourcePawn Syntax Highlighting
Reply With Quote #15

Quote:
Originally Posted by axiom123 View Post
yes
Code:
reloading plugin Sourcepawn.SPCompletions
Traceback (most recent call last):
  File "/opt/sublime_text/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 869, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/SPCompletions.py", line 24, in <module>
    import Sourcepawn.watchdog.observers
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/watchdog/observers/__init__.py", line 60, in <module>
    from Sourcepawn.watchdog.observers.inotify import InotifyObserver as _Observer
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/watchdog/observers/inotify.py", line 148, in <module>
    class InotifyConstants(object):
  File "/home/alexandr/.config/sublime-text-3/Packages/Sourcepawn/watchdog/observers/inotify.py", line 184, in InotifyConstants
    IN_ALL_EVENTS = reduce(lambda x, y: x | y, [
NameError: name 'reduce' is not defined
skype: nyb4ik1
I think you have troubles with your python in system. "reduce" - is the python built in command.
__________________
ppalex is offline
axiom123
Member
Join Date: May 2013
Location: Ukraine, Kiev
Old 06-29-2014 , 02:56   Re: SourcePawn Syntax Highlighting
Reply With Quote #16

Thanks.
https://github.com/gorakhargosh/watc...ree/master/src
and change import "watchdog" replace "Sourcepawn.*"

Last edited by axiom123; 06-29-2014 at 11:49.
axiom123 is offline
Send a message via ICQ to axiom123 Send a message via Skype™ to axiom123
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 07-26-2014 , 04:42   Re: SourcePawn Syntax Highlighting
Reply With Quote #17

Plugin was updated (updated watchdog module)
https://github.com/d-ai/Sourcepawn/releases/tag/0.8
__________________
ppalex is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 08-06-2014 , 17:12   Re: SourcePawn Syntax Highlighting
Reply With Quote #18

Visual studio would be great if someone do it, also would any of those be updated for the new sourcepawn syntax?
Mathias. is offline
sim242
AlliedModders Donor
Join Date: Dec 2012
Location: England
Old 11-17-2014 , 07:27   Re: SourcePawn Syntax Highlighting
Reply With Quote #19

abrandnewday updated the Notepad++ Syntax highlighting for 2014: https://forums.alliedmods.net/showthread.php?t=251211
__________________
Steam - Sim
Request a private plugin
Not accepting requests at this time
sim242 is offline
Send a message via Skype™ to sim242
LambdaLambda
AlliedModders Donor
Join Date: Oct 2010
Location: London
Old 02-24-2015 , 17:46   Re: SourcePawn Syntax Highlighting
Reply With Quote #20

Did anyone update highlighting for 1.7 on Sublime Text?
LambdaLambda is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode