Skip to content

Instantly share code, notes, and snippets.

Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports EnvDTE90a
Imports EnvDTE100
Imports System.Diagnostics
Public Module CopyJumpTagFromCurrentLocation
Public Sub CopyJumpTagFromCurrentLocation()
// ==UserScript==
// @name Redmine Username Shorten
// @version 0.1
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @match http://*/redmine/projects/*/issues*
// ==/UserScript==
(function(){
function takeFirstName(i, elem){
$(elem).text($(elem).text().split(" ")[0]);
// ==UserScript==
// @name Redmine Ticket Status Hilighter
// @version 0.1
// @namespace https://github.com/kawanaka2141
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @match http://*/redmine/projects/*/issues*
// ==/UserScript==
(function(){
var statusList = $('.status');
// ==UserScript==
// @name Redmine Syntax Hilighter with Google Code Prettify
// @namespace https://github.com/kawanaka2141
// @version 0.1
// @match */redmine/issues/*
// @match */redmine/projects/*/wiki/*
// @resource prettify_css http://google-code-prettify.googlecode.com/svn/trunk/styles/desert.css
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @require http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js
// @require http://google-code-prettify.googlecode.com/svn/trunk/src/lang-vb.js
// ==UserScript==
// @name Redmine Submit Guard
// @namespace https://github.com/kawanaka2141
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @match http://*/redmine/projects/*/issues/new
// @match http://*/redmine/issues/*
// ==/UserScript==
(function(){
$('input').keypress(function(ev){