Git Product home page Git Product logo

django-editor's Introduction

Eclipse projects
----------------
After you get source from repository, just import 3 projects into workspace:
org.kacprzak.eclipse.django_editor.feature
org.kacprzak.eclipse.django_editor.updates
org.kacprzak.eclipse.django_editor.plugin

Build
-----
1. Open org.kacprzak.eclipse.django_editor.plugin/plugin.xml
   - Use Export Wizard
   - Destination: specify directory where to put jar file with plugin
     hint: Browse to select <project>\org.kacprzak.eclipse.django_editor.updates
2. Open org.kacprzak.eclipse.django_editor.feature/feature.xml
   - Use Export Wizard
   - Destination: specify directory where to put jar file with plugin
     hint: Browse to select <project>\org.kacprzak.eclipse.django_editor.updates
3. Open org.kacprzak.eclipse.django_editor.updates/site.xml
   - Build All
   
Publish
-------
1. Copy content of <project>\org.kacprzak.eclipse.django_editor.updates
   to your updates page.
   See also: http://eclipse.kacprzak.org/
   

django-editor's People

Contributors

zbika73 avatar

Watchers

 avatar

django-editor's Issues

Change color of Django block name

Is it possible to add color options for Django block names?

i.e. when typing: {{ block my_block }} - the "myblock" color seems to be locked 
to a default shade of blue. This also affects the inside of {% %} tags, such as 
for loops.

I am using a dark Eclipse theme, so it is difficult to read this. I have 
attached an image of an example of this (specifically a "for loop" example).

Many thanks.

Original issue reported on code.google.com by [email protected] on 11 Feb 2014 at 11:07

Attachments:

Wrong selecting by double click

What steps will reproduce the problem?
doubleclick somewhere in template text  

What is the expected output? What do you see instead?
this should select clicked word on doubleclick, but it have select much bigger 
block of text with strange bounds.

What version of the product are you using? On what operating system?
0.6.1, both Mac OS X 1.6.4 and Ubuntu 10.04

Please provide any additional information below.
Check any js or html text editor to compare behavior on selecting by double 
clicks.

Original issue reported on code.google.com by m.nesov on 14 Sep 2010 at 8:21

Make editor usable for html files in interpreter System Libs

What steps will reproduce the problem?
1. Install clean Eclipse Luna + PyDev
2. Setup virtualenv with python 3.x and install to it django
3. Add interpreter in PyDev for this virtualenv
4. Create new project that use this new interpreter setup
5. Navigate in Package Explorer to Interpreter System Libs to the site-packages 
> django > contrib > admin > templates. Select any html file.
6. The editor should display contents but the Error is showing.

When copying html file from Interpreter System Libs to the working directory 
editor seems to bevave correctly.

What is the expected output? What do you see instead?
Opened html file with syntax colored but with save option disabled because this 
is only for viewing purposes.


What version of the product are you using? On what operating system?
OS X Mavericks 10.9.5
Eclipse Luna 4.4.1
PyDev 3.9.1
Django Templates Editor 1.4.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Jan 2015 at 10:36

Attachments:

Installation fails

What steps will reproduce the problem?
1. select 'django editor' for installation in Eclipse  3.5.2
2. Choose next 
3.

What is the expected output? What do you see instead?
Installation fails

What version of the product are you using? On what operating system?
Im using eclipse 3.5.2 on fedora 13 and have WTP installed

Please provide any additional information below.
An error occurred while collecting items to be installed
  session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
  Artifact not found: osgi.bundle,org.kacprzak.eclipse.django.editor.plugin,0.5.5.
  http://eclipse.kacprzak.org/updates/plugins/org.kacprzak.eclipse.django.editor.plugin_0.5.5.jar
  Artifact not found: org.eclipse.update.feature,org.kacprzak.eclipse.django.feature,0.5.5.
  http://eclipse.kacprzak.org/updates/features/org.kacprzak.eclipse.django.feature_0.5.5.jar
  Artifact not found: org.eclipse.update.feature,org.python.pydev.django_editor.feature,0.5.8.
  http://eclipse.kacprzak.org/updates/features/org.python.pydev.django_editor.feature_0.5.8.jar
  Artifact not found: osgi.bundle,org.python.pydev.django_editor.plugin,0.5.8.
  http://eclipse.kacprzak.org/updates/plugins/org.python.pydev.django_editor.plugin_0.5.8.jar


Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 1:13

  • Merged into: #1

No template highlighting inside html strings

What steps will reproduce the problem?
1. paste following in Django templates editor - <div id="{{ id }}">{{ name 
}}</div>

What is the expected output? What do you see instead?
I would have expected to see template highlighting for both the django tags, 
but "{{ id }}" does not get highlighted as a django tag but rather as an html 
string, since all the django prepossessing takes place first, it makes sense to 
give precedence to django highlighting wherever it occurs. 

What version of the product are you using? On what operating system?
django-editor 6.2, latest as of this date, Eclipse Indigo, Ubuntu 12.04 

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 21 Jun 2012 at 10:45

Use Eclipse Appearance color settings.

What steps will reproduce the problem?
1. Change colors in Eclipse's appearance settings.
2. Open a Django Template

What is the expected output? What do you see instead?
Color changes are reflected. Colors remain the same.

What version of the product are you using? On what operating system?
0.6.2, Ubuntu Linux

Please provide any additional information below.
While I understand that this plugin provides it's own color options, it would 
be better, in my opinion, to use Eclipse's appearance settings. I imagine that 
would allow the Eclipse Color Themes plugin to correctly theme this plugin as 
well.

Original issue reported on code.google.com by [email protected] on 11 Jul 2012 at 3:52

Wrong tab key action on multiple rows

What steps will reproduce the problem?
1. Check "Insert spaces for tabs" in Eclipse preferences
2. Open Django template and select 2 rows or more
3. Press tab

What is the expected output? What do you see instead?
Expectation: 4 spaces on each row.
Reality: 1 tab on each row.

What version of the product are you using? On what operating system?
Django Templates Editor 1.3.0.201308181341
Eclipse Kepler Build id: 20130919-0819
Linux x64, openjdk.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Nov 2013 at 6:05

Missing word-wrap and HTML Tag Pair Occurrences with Aptana 3.6 and Django Templates Editor 1.3.4

What steps will reproduce the problem?
1. Install Aptana 3.6
2. Install django editor plugin for Aptana

What is the expected output? What do you see instead?
The following default Aptana features are not available/working anymore:
- word wrap option on right-click on the code (despite being enabled in 
Windows>Preferences>Aptana Studio>Editors)
- HTML Tag Pair Occurrences (despite being enabled in 
Windows>Preferences>General>Editors>Text Editors>Annotation)


What version of the product are you using? On what operating system?
- Aptana Studio 3, build: 3.6.0.201407100658
-   Django Templates Editor 1.3.4.201402162101
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Nov 2014 at 3:33

Add different theming options

Love the editor! Nice work!

One enhancement request would be to add different theming options.  I use your 
plugin with a dark theme so all the color clash.  A few different options for 
both light and dark would be awesome!

Thanks for the hard work!

Original issue reported on code.google.com by [email protected] on 19 Dec 2014 at 4:15

Version 0.8.1 does not work with Eclipse 3.7.2

A. What steps will reproduce the problem?

1. Install version 0.8.1

B. What is the expected output? What do you see instead?

I found that when I updated your Eclipse plugin it broke.  Initially I saw this 
error:

Could not open the editor: No editor descriptor for id 
org.python.pydev.django_editor.editors.DjangoEditor

After a restart the syntax high lighting was disabled:

C. What version of the product are you using? On what operating system?

Previously I was using: Dajngo Templates Editor Feature    0.6.2

Information about the rest of my system running on Windows XP.

Eclipse SDK

Version: 3.7.2
Build id: M20120208-0800

    AnyEditTools    2.4.2.201205131655
    Bytecode Outline    2.4.1

    DataHierarchy    1.0.0.201005301956
    Eclipse EGit    2.0.0.201206130900-r
    Eclipse SDK    3.7.2.M20120208-0800
    EGit Mylyn    2.0.0.201206130900-r
    EGit Project Set Support    2.0.0.201206130900-r
    Extended VS Presentation    1.5.6.201008292220
    FileSync    1.3.8.201104160944
    JDepend4Eclipse    1.2.3.201108071203
    MercurialEclipse    1.9.4.201203270141
    Mylyn Docs EPUB    1.0.1.v20120725-0100
    Mylyn Task List    3.8.1.v20120725-0100
    Mylyn Task-Focused Interface    3.8.1.v20120725-0100
    Mylyn WikiText    1.7.1.v20120725-0100
    PyDev for Eclipse    2.6.0.2012062818 

D. Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 16 Aug 2012 at 10:35

  • Merged into: #1

Opening of django admin base.html shows only 'ERROR'

What steps will reproduce the problem?
1. try to open django/contrib/admin/templates/admin/base.html

What is the expected output? What do you see instead?
the only what I see is an empty page with label 'ERROR'
expected would be 
opening the other pages is OK.


What version of the product are you using? On what operating system?
x86_64 linux/ubuntu 14.04
python 2.7.6
django 1.7
eclipse luna
pydev 3.8

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 25 Oct 2014 at 7:26

Attachments:

Artifact not found: org.python.pydev.django_editor.plugin_0.5.8.jar

What steps will reproduce the problem?

1. Install Eclipse SDK 3.6.0 Build id:l20100608-0911 and Pydev 1.6.0.2010071813
2. Try to download plugin through Eclipse Help -> Install New Software...
3. Click through all dialog boxes, to the point where Eclipse starts 
downloading.

What is the expected output? What do you see instead?

I expected the plugin to get installed, and instead got the following error 
message:

=================================================================
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Artifact not found: 
org.eclipse.update.feature,org.python.pydev.django_editor.feature,0.5.8.
http://eclipse.kacprzak.org/updates/features/org.python.pydev.django_editor.feat
ure_0.5.8.jar
Artifact not found: osgi.bundle,org.python.pydev.django_editor.plugin,0.5.8.
http://eclipse.kacprzak.org/updates/plugins/org.python.pydev.django_editor.plugi
n_0.5.8.jar
=================================================================

What version of the product are you using? On what operating system?

Tried downloading Django Editor 0.5.8 on 30-Jul-2010, on Ubuntu Linux 10.04.  
See above for versions of Eclipse and PyDev.

Please provide any additional information below.

I tried downloading directly 
http://eclipse.kacprzak.org/updates/plugins/org.python.pydev.django_editor.plugi
n_0.5.8.jar from Firefox, and I get a 404 page.

Original issue reported on code.google.com by [email protected] on 30 Jul 2010 at 5:21

Certain key presses crash Eclipse when using django-editor on 64bit systems

What steps will reproduce the problem?
1. Load up any Django template file with django-editor
2. Start a new line. Indent once with Tab, then type "<table class=". The IDE 
will hang and require killing. Also works with any "attribute_name=". Crash 
seems to occur on pressing the equals key.

What is the expected output? What do you see instead?
- I expect the editor to continue to accept inputs, the line to be correctly 
syntax highlighted and Eclipse not to hang.

What version of the product are you using? On what operating system?
- Eclipse 3.8
- PyDev 2.7.1
- Ubuntu desktop 12.10, amd64 (i5 3210M)
- django-editor 1.1.0

Ubuntu does not raise an apport error. Instead the Eclipse window greys out and 
the program uses up an entire core of CPU. The taskbar at the top still 
responds and clicking "x" produces a dialogue that Eclipse is "not responding" 
and invites a "force close".

Original issue reported on code.google.com by [email protected] on 30 Dec 2012 at 6:12

Typo in plugin name

The plugin name in the software updates dialog is shown as "Dajngo Eclipse 
editor" instead of "Django Eclipse editor".

Original issue reported on code.google.com by [email protected] on 19 Aug 2011 at 11:54

Eclipse hang with form-action tag

What steps will reproduce the problem?
1. Create a new html file
2. type <form action="{}">
3. go into {} and type %

What is the expected output? What do you see instead?
Eclipse not to hang

What version of the product are you using? On what operating system?
- Windows XP 32bit
- Eclipse Kepler Build id: 20130614-0229
- PyDev for Eclipse 2.8.1
- Django-editor 1.3.0.201308181341


Please provide any additional information below.
Some issue if you type <form action="{%%}" and then type > at the end of the 
row, or if you use an existing html file.
I saw there are two issue, already closed, with a similar problem, but they 
refer to previous version of the product.

Thanks a lot.

Original issue reported on code.google.com by [email protected] on 7 Sep 2013 at 1:21

Causing Eclipse to crash when typing doublequote (shift + singlequote)

What steps will reproduce the problem?
1. open django template using django-editor
2. type doublequote with django-editor
3. Eclipse CRASH

What is the expected output? What do you see instead?
expected doublequote, instead crash on eclipse

What version of the product are you using? On what operating system?
The version is 1.1.0.201211221652, and my operating system is Ubuntu Linux 
12.04 with kernel 3.5, and Xfce4 desktop environment.

Please provide any additional information below.
My Eclipse version is Eclipse 3.8.1.
It's just crash my Eclipse when i type doublequote. It happen everytime i 
repeat it. But when i edit the same file with web page editor from Eclipse, 
it's fine, nothing bad happen.

Original issue reported on code.google.com by [email protected] on 31 Jan 2013 at 1:25

  • Merged into: #10

Attachments:

templates missing, not functioning

What steps will reproduce the problem?
1. install using help>install new 
software>add>http://eclipse.kacprzak.org/updates>django editor
2. got to window>preferences>django editor
3. select templates, then new or import

What is the expected output? What do you see instead?
1. there should be templates under window>preferences>django editor just like 
in the screenshot here: http://eclipse.kacprzak.org/ - instead I see no 
templates
2. you should be able to add new templates by clicking new or import - instead 
clickling these buttons I see nothing happening
3. templates should pop up when typing in a django editor file - instead I do 
not see any autocompletion of templates (because there are none)

What version of the product are you using? On what operating system?
django editor 0.8.1, pydev 2.7.1, eclipse 3.7.2, ubuntu 12.04lts

Please provide any additional information below.
I can confirm that in ~/.eclipse/plugins/org.kacprzak.jar there is a template 
file, but for some reason the template function and window are not functioning 
for this plugin, although highlighting does work.

Original issue reported on code.google.com by [email protected] on 7 Nov 2012 at 5:39

Feature Request: highlight and/or jump to closing tag

this would make navigating and debugging complex templates with many nested 
tags easier.

For example: Highlighting and/or jumping to the {% else %} or {% endif %} that 
matches the {% if ... %} tag that the cursor is on. 

Killer feature if at all possible!

Thank you.

Original issue reported on code.google.com by [email protected] on 13 Mar 2014 at 11:58

Make default colors more eye-friendly

I don't know if it's possible to extract some of the default editor colours, 
especially it'd be cool if colours from http://eclipsecolorthemes.org/ could be 
seemlessly integrated.

I guess a nice end-goal would be if django-editor didn't manage its own colour 
settings at all.. or maybe that they were all inherited from external settings 
by default and could then be overridden by the user.

Cheers for a wonderful initiative by the way. Very useful and needed!

Benjamin

Original issue reported on code.google.com by [email protected] on 30 Mar 2014 at 6:34

Feature request: Please add text identation options to editor's preferences

It would be very helpful if we were able to choose identation method: use tabs 
or spaces, and ability to select displayed width for tabs (in spaces mode 
editor should insert this amount of spaces on pressing Tab key). See Eclipse's 
Settings > General > Editor > Text Editors    as example.


Original issue reported on code.google.com by m.nesov on 14 Sep 2010 at 8:29

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.