GithubHelp home page GithubHelp logo

sublime-notes's Introduction

#Notes for Sublime Text

##A Very Simple Language for Taking Notes

If you're like me, you find yourself taking a lot of notes in Sublime. I like syntax highlighting, and I thought it would be cool to see it applied to every day note taking. Now you can enjoy your beautiful color schemes while taking everyday notes!

alt tag

##Installation Install via Sublime's Package Manager.

  • Open the command palette: ⌘+shift+p on MacOS/Linux, ctrl+shift+p on Windows
  • type install, select Package Control: Install Package
  • type Notes, select Notes

##Usage

  • Open the command palette: ⌘+shift+p on MacOS/Linux, ctrl+shift+p on Windows
  • type notes
  • or save as a .notes file

##Features alt tag

##Snippets

  • generate block title: --- + TAB
  • generate code snippet: [ + TAB

##Supported languages for snippets

  • Actionscript
  • Applescript
  • ASP
  • C
  • C++
  • C#
  • Clojure
  • CSS
  • D
  • Erlang
  • Go
  • Groovy
  • Haskell
  • HTML
  • Java
  • Javascript
  • Lua
  • Makefile
  • Markdown
  • Matlab
  • Objective-C
  • Ocaml
  • Pascal
  • Perl
  • PHP
  • Python
  • R
  • Regex
  • Ruby
  • Scala
  • Shell
  • SQL
  • TCL
  • TeX
  • XML
  • XSL
  • YAML

Screenshots were taken using Seti_UI color scheme

sublime-notes's People

Contributors

saadq avatar tbh1 avatar tedh-slalom avatar vj-ug avatar zsniper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sublime-notes's Issues

Highlighting function stopped working.

Love this little program and have been using it a lot in graduate school. I've run into an issue, however, where #highlighting# function stopped working. I don't know nearly enough to be able to fix it, however. Help!

Spell Check Not working

"spell_check": true,
doesn't work in a .notes file, either in syntax specific or global setting.

also, since the seti_UI scheme has been updated greatly,
Is there a recommended color scheme to go with this package?

thanks

Edit: I realized in Syntax there's Notes & Notes - Text, the Text version can use spell check without problem. Still not sure why the regular version will always show 0 misspelled found.

Spell check doesn't work

I've been using this for a few months now and love it. I noticed that on both my Linux and Windows installations, whenever I'm using the Notes syntax, spell check doesn't work. It just comes back with 0 misspelled words.

I've never created a similar package for Sublime so am not sure of the cause. I just wanted to see if you were aware. If you are and don't have a fix, I'll see if I can do some investigation.

Super+Enter continues to next list item e.g. 1,2,3 or a,b,c

Instead of having to type
a.)
b.)
c.)
have super+enter go to the next line and auto-fill it for you.

I have used plain notes package and it does this for lists by putting a list box on the next line (plain tasks also works like this). So maybe something similar could be done and just increment from the previous value of the list on this line.

Add Some Color for Credentials

Hey First Off, thanks for a great tool, as a DevOp/WebDev I often have lots of notes that are not realated to code and then I'll put a snippet in and there is no way to color the snippets, You have solved my biggest issue with all code tools, so thank you very much.

Hey is there a way for you to add some color a format like this for common credentials data. For example,

==================================
MYSQL DATABASE DETAILS:
==================================
HOST = Enter_URL_Here
dbName = Enter_URL_Here
Uname = Enter_Username_Here
Pword = Enter_Password_Here

==================================
WORDPRESS DETAILS:
==================================
URL = Enter_URL_Here
Uname = Enter_Username_Here
Pword = Enter_Password_Here

    Additional User:  YES  NO
    Uname = Enter_Username_Here
    Pword = Enter_Username_Here

==================================
FTP DETAILS:
==================================
HOST = Enter_URL_Here
Uname = Enter_Username_Here
Pword = Enter_Password_Here

Using the FTP as an example, something similar to your blue headers with a ":" but when a equal sign is used have the leftside be blue and the right side of the "=" yellow or something.

Or is there a way I can change this? that would be awesome..

Again, this is awesome!
Thanks

~N

No Issue, just wanted to thank you!

I've been looking for something like this and your color scheme is perfect for my uses. Thank you so much for creating this plugin!

-Jory

Simple way to bold

Is there a simple way to make text bold? If not, this is a feature request.

Thank you for the extension!

Cant end [/regex]

Hi when I want use [re] [regex] or [regexp] I cant this code close with [end] [/re] [/regex] [/regexp]. Can u help me? I think its bug. Can u look at this and help me fix it please? :-)

C# syntax highlighting doesn't close properly

Consider the following:

[csharp]
public void TestSomething()
{
Test(delegate { Debug.WriteLine("Test"); });
}
[end]

Here, the syntax highlighting does not stop at "[end]"

Yet in the case of:

[csharp]
namespace TestNamespace
{
class Program
{
public void TestSomething()
{
Test(delegate { Debug.WriteLine("Test"); });
}
}
}
[end]

The end block is caught correctly.

Request: Add checkboxes feature

In my note taking, I use a lot of checkboxes, and it would be nice if this existed in your package!

Github implements them as
- [x] Finish my changes

  • Finish my changes

However, I usually write them as such
[X] remove unnecessary console logs

Either way, might be nice. Only issue I foresee is that you use square braces for language definitions, but 'X' and ' ' are not languages (yet!)

Copy my notes with syntax formatting into MS Outlook

Hi there, thank you for creating this wonderful package. I started to use it as my personal note taking apps. Can someone guide me how to copy paste with syntax formatting/ highlight of what I see/type in Sublime Text into MS Outlook?

A port to a VS Code extension

I've been using this plugin in sublime text every day for the past couple years. It would be awesome to have a compliant extension in VS Code as well. Has there been any interest/discussion around this?

Python code not closing

the [python] code is not closing. I tried [python][end], [python][python], [python][/python], [python][/end].

Nothing seems to work.

Snippet extra character

When generating a code snippet:

[ + TAB

I get an extra ] at the end of the snippet. I think it's cause of the initial ] that is added when I press [. This is probably an issue with my settings but is there a way to change it just for this snippet?

Sublime crashes when opening a .notes file

Hi,
this behavior appears since some dev builds and on the latest stable build.

Just opening a .notes file will crash Sublime, so there is no logging possible.

This is not the same issue as reported in #11, because it does not depend on any content.
Further, the file content isn't shown at all, you just see the loading bar and then Sublime will crash.

Error in console at start notes

When I start notes I take two errors in my console. Can u help me fixt it? Thank you for your time nad nice package.

Error loading scope:text.xml.xsl: Unable to find syntax file for scope text.xml.xsl in Packages/Notes/notes.tmLanguage Error loading scope:source.postscript: Unable to find syntax file for scope source.postscript in Packages/Notes/notes.tmLanguage

Color Scheme

Hi,
i've tried to emulate your exact color scheme by installing Seti_UX or Seti_UIthemes.
I've tried all possible combinations and while parts of the colors are similar, there are parts of the notes syntax that are not highlighted at all.

Would you mind including or pointing to the exact theme you have used ?

Thanks

Error at start with using note syntax.

Hello,
I have problem with sublime notes. I've downloaded fresh Sublimetext3 and notes. Now, when I want switch to notes, I have little freeze and these errors. I have ST3 portable build 3126x64 fresh instalation.


rule scope:source.clojure##anon_string_3 has a scope name, but is unreachable, so the name will never be used

rule scope:source.asp##anon_inside_block_2 has a scope name, but is unreachable, so the name will never be used

rule scope:source.scala#xml-comments has a scope name, but is unreachable, so the name will never be used


At my old full updated Sublimetext3 from build 3065x64 is everything ok.
Can you help me how to fix it? Thank you for your time.

Color Scheme

Which colour theme was used for the provided screenshots? Please add this information to your readme.

Support for tags or labels would be great.

I like to be able to search documents quickly by subject, not just file name or contents. One way to handle this is to create folders and subfolders by subject, but it's just too time consuming to do that. Evernote lets you tag the various notes, and then you can search by tag.

So I wrote a little script to help with it

#! /bin/bash

#
# This script searches $NOTES_DIRECTORY for .txt or .notes files
# and moves them to subfolders for the year and month YYYY/MM when
# they were last modified.
#
# also it greps all note files tag like '#tags:t1,t2,...' and 
# writes the unique tags to a file named tags.

set -euo pipefail  # exit on any unexpected failure

NOTES_DIRECTORY=${NOTE_DIRECTORY-$HOME/WorkDocs/Notes}
SUFFIX=notes
THIS_MONTH=$(date +%Y-%m)

cd $NOTES_DIRECTORY


# Move all .txt files to .$SUFFIX
for each in *.txt
do
    new_file_name=$(echo $each | 
        sed -e "s/\.txt\$/.$SUFFIX/g" -e 's/ /-/g' )

    [ -f "$each" ] || continue
    echo "renaming $each  --> $new_file_name"
    mv "$each" "$new_file_name"
done


for each in *.$SUFFIX
do
    date=$(date -r "$each" +%Y-%m );
    _DATES+=($date);
    FILES+=($each);
done

DATES=$(printf "%s\n" "${_DATES[@]}" | sort -u);
for date in ${DATES[@]}; do
    [ $date == $THIS_MONTH ] && continue
    if [ ! -d "$date" ]; then
        mkdir "$date"
    fi
done

for i in  ${FILES[@]}; do
  dest=$(date -r "$i" +%Y-%m)
  [ $dest == $THIS_MONTH ] && continue
  mv $i $dest/$i
done

# write tags report
echo "# This file is an auto-generated list of all tags" > tags
echo "# found in .notes files" >> tags
echo "# " >> tags
echo "# tags:" >> tags
find . -name '*.notes' | 
    xargs cat | 
    egrep '^tags:' | 
    sed -e 's/^tags://' | 
    tr ',' '\012'  | 
    sort -u >> tags

Request

Hi and thanks for a nice plugin.

Is there a way to convert a .notes file to markdown, so later and I can use pandoc to convert to pdf? If not, this would be a great feature, imho.

Issue with Korean text.

When adding * some Korean text * it will not longer highlight the text anymore. If I can help out at all with this let me know!

Bash comments are wrong highlighted

Bash code snippets do not recognise # as a comment (with any of the colour schemes).

The issue was raised previously here before but the solution reply is not really clear - maybe it should be added as a note to the README.

sublime crashes when editing .notes files

When I enter words with German Umlauts, e.g. the word "hätte" in a .notes file the editor crashes without further notice.
That is on OS X 10.10.5 and Sublime Build 3099

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.