Home Download Buy Blog Forum Support

New Django support for ST2

Re: New Django support for ST2

Postby enniot on Fri Sep 09, 2011 9:59 am

Hello. I can't use this plugin within SublimeCodeIntel..
might you know why ? :)
enniot
 
Posts: 15
Joined: Fri Sep 09, 2011 7:53 am

Re: New Django support for ST2

Postby ggayan on Fri Sep 09, 2011 1:25 pm

Because CodeIntel reads the current syntax you're using, and it doesn't support python-django.

I have an idea how to fix it, maybe i'll send a pull request to Kronuz this weekend.

Cheers
ggayan
 
Posts: 5
Joined: Mon Apr 18, 2011 10:17 pm

Re: New Django support for ST2

Postby squ1b3r on Thu Sep 15, 2011 6:26 am

enniot wrote:Hello. I can't use this plugin within SublimeCodeIntel..
might you know why ? :)


I use it with SublimeCodeIntel and there is no problem. Can you give me more details?
squ1b3r
 
Posts: 45
Joined: Fri Feb 11, 2011 6:35 am

Re: New Django support for ST2

Postby enniot on Thu Sep 15, 2011 7:23 am

I mean that, when I've syntax set to Django4ST2 --> Python Django
SublimeCodeIntel doesn't update library or show completitions. It's like it's diabled.
enniot
 
Posts: 15
Joined: Fri Sep 09, 2011 7:53 am

Re: New Django support for ST2

Postby squ1b3r on Fri Sep 16, 2011 8:58 am

enniot wrote:I mean that, when I've syntax set to Django4ST2 --> Python Django
SublimeCodeIntel doesn't update library or show completitions. It's like it's diabled.


It's work for me. But I'm going to rewrite this thing soon.
squ1b3r
 
Posts: 45
Joined: Fri Feb 11, 2011 6:35 am

Re: New Django support for ST2

Postby enniot on Fri Sep 16, 2011 9:47 am

squ1b3r wrote:
enniot wrote:I mean that, when I've syntax set to Django4ST2 --> Python Django
SublimeCodeIntel doesn't update library or show completitions. It's like it's diabled.


It's work for me. But I'm going to rewrite this thing soon.


<3 :)
enniot
 
Posts: 15
Joined: Fri Sep 09, 2011 7:53 am

Re: New Django support for ST2

Postby enniot on Fri Sep 16, 2011 9:58 am

however It doesn't work on both my 2 computers.. maybe 3 including the netbook.
All windows 7, 2x64, 1x86. Strange.

New file.
set syntax to Python Django

I type:

Code: Select all
from # add a space at the end


Status bar says:
'unexpected EOF while parsing' at column 6, Line 1, Column 6
enniot
 
Posts: 15
Joined: Fri Sep 09, 2011 7:53 am

Re: New Django support for ST2

Postby squ1b3r on Sun Sep 18, 2011 4:23 am

enniot wrote:however It doesn't work on both my 2 computers.. maybe 3 including the netbook.
All windows 7, 2x64, 1x86. Strange.

New file.
set syntax to Python Django

I type:

Code: Select all
from # add a space at the end


Status bar says:
'unexpected EOF while parsing' at column 6, Line 1, Column 6


Yep, I got it too. Thanks man. I'm going to find out later.
squ1b3r
 
Posts: 45
Joined: Fri Feb 11, 2011 6:35 am

Re: New Django support for ST2

Postby squ1b3r on Tue Feb 07, 2012 6:10 am

If you get some load syntax error after last update, you need delete all *.cache files from the Djaneiro directory.
squ1b3r
 
Posts: 45
Joined: Fri Feb 11, 2011 6:35 am

Re: New Django support for ST2

Postby squ1b3r on Wed Feb 08, 2012 6:15 am

Another update.

- Python (Django) is used by default for python files
- Menu items with default and user settings (for now it's just setting for syntax files)

Now you can turn off or add new associations for HTML and Python mode in settings files.
squ1b3r
 
Posts: 45
Joined: Fri Feb 11, 2011 6:35 am

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests