Skip to content
This repository was archived by the owner on Sep 29, 2022. It is now read-only.

Commit a5c6ebb

Browse files
committed
Ready for github
1 parent e427e69 commit a5c6ebb

14 files changed

Lines changed: 267 additions & 5 deletions

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
##Changelog
3+
4+
5+
### 1.0
6+
7+
**2017-04-3
8+
9+
- [x] Initial release.
10+
- [x] Control the height of empty lines.
11+
- [x] Control the height of lines with nothing but curly braces.

CONTRIBUTING.md

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
# Contributing
2+
3+
Looking to contribute something? **Here's how you can help.**
4+
5+
Please take a moment to review this document in order to make the contribution
6+
process easy and effective for everyone involved.
7+
8+
Following these guidelines helps to communicate that you respect the time of
9+
the developers managing and developing this open source project. In return,
10+
they should reciprocate that respect in addressing your issue or assessing
11+
patches and features.
12+
13+
14+
## Using the issue tracker
15+
16+
The issue tracker is the preferred channel for [bug reports](#bug-reports),
17+
[features requests](#feature-requests) and
18+
[submitting pull requests](#pull-requests), but please respect the
19+
following restrictions:
20+
21+
* Please **do not** use the issue tracker for personal support requests. Stack
22+
Overflow is a better place to get help.
23+
24+
* Please **do not** derail or troll issues. Keep the discussion on topic and
25+
respect the opinions of others.
26+
27+
* Please **do not** open issues or pull requests which *belongs to* third party
28+
components.
29+
30+
31+
## Bug reports
32+
33+
A bug is a _demonstrable problem_ that is caused by the code in the repository.
34+
Good bug reports are extremely helpful, so thanks!
35+
36+
Guidelines for bug reports:
37+
38+
1. **Use the GitHub issue search** — check if the issue has already been
39+
reported.
40+
41+
2. **Check if the issue has been fixed** — try to reproduce it using the
42+
latest `master` or development branch in the repository.
43+
44+
3. **Isolate the problem** — ideally create an
45+
[SSCCE](http://www.sscce.org/) and a live example.
46+
Uploading the project on cloud storage (OneDrive, DropBox, et el.)
47+
or creating a sample GitHub repository is also helpful.
48+
49+
50+
A good bug report shouldn't leave others needing to chase you up for more
51+
information. Please try to be as detailed as possible in your report. What is
52+
your environment? What steps will reproduce the issue? What browser(s) and OS
53+
experience the problem? Do other browsers show the bug differently? What
54+
would you expect to be the outcome? All these details will help people to fix
55+
any potential bugs.
56+
57+
Example:
58+
59+
> Short and descriptive example bug report title
60+
>
61+
> A summary of the issue and the Visual Studio, browser, OS environments
62+
> in which it occurs. If suitable, include the steps required to reproduce the bug.
63+
>
64+
> 1. This is the first step
65+
> 2. This is the second step
66+
> 3. Further steps, etc.
67+
>
68+
> `<url>` - a link to the project/file uploaded on cloud storage or other publicly accessible medium.
69+
>
70+
> Any other information you want to share that is relevant to the issue being
71+
> reported. This might include the lines of code that you have identified as
72+
> causing the bug, and potential solutions (and your opinions on their
73+
> merits).
74+
75+
76+
## Feature requests
77+
78+
Feature requests are welcome. But take a moment to find out whether your idea
79+
fits with the scope and aims of the project. It's up to *you* to make a strong
80+
case to convince the project's developers of the merits of this feature. Please
81+
provide as much detail and context as possible.
82+
83+
84+
## Pull requests
85+
86+
Good pull requests, patches, improvements and new features are a fantastic
87+
help. They should remain focused in scope and avoid containing unrelated
88+
commits.
89+
90+
**Please ask first** before embarking on any significant pull request (e.g.
91+
implementing features, refactoring code, porting to a different language),
92+
otherwise you risk spending a lot of time working on something that the
93+
project's developers might not want to merge into the project.
94+
95+
Please adhere to the [coding guidelines](#code-guidelines) used throughout the
96+
project (indentation, accurate comments, etc.) and any other requirements
97+
(such as test coverage).
98+
99+
Adhering to the following process is the best way to get your work
100+
included in the project:
101+
102+
1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
103+
and configure the remotes:
104+
105+
```bash
106+
# Clone your fork of the repo into the current directory
107+
git clone https://github.com/<your-username>/<this-repro-name>.git
108+
# Navigate to the newly cloned directory
109+
cd <folder-name>
110+
# Assign the original repo to a remote called "upstream"
111+
git remote add upstream https://github.com/madskristensen/<this-repro-name>.git
112+
```
113+
114+
2. If you cloned a while ago, get the latest changes from upstream:
115+
116+
```bash
117+
git checkout master
118+
git pull upstream master
119+
```
120+
121+
3. Create a new topic branch (off the main project development branch) to
122+
contain your feature, change, or fix:
123+
124+
```bash
125+
git checkout -b <topic-branch-name>
126+
```
127+
128+
4. Commit your changes in logical chunks. Please adhere to these [git commit
129+
message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
130+
or your code is unlikely be merged into the main project. Use Git's
131+
[interactive rebase](https://help.github.com/articles/interactive-rebase)
132+
feature to tidy up your commits before making them public. Also, prepend name of the feature
133+
to the commit message. For instance: "SCSS: Fixes compiler results for IFileListener.\nFixes `#123`"
134+
135+
5. Locally merge (or rebase) the upstream development branch into your topic branch:
136+
137+
```bash
138+
git pull [--rebase] upstream master
139+
```
140+
141+
6. Push your topic branch up to your fork:
142+
143+
```bash
144+
git push origin <topic-branch-name>
145+
```
146+
147+
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
148+
with a clear title and description against the `master` branch.
149+
150+
151+
## Code guidelines
152+
153+
- Always use proper indentation.
154+
- In Visual Studio under `Tools > Options > Text Editor > C# > Advanced`, make sure
155+
`Place 'System' directives first when sorting usings` option is enabled (checked).
156+
- Before committing, organize usings for each updated C# source file. Either you can
157+
right-click editor and select `Organize Usings > Remove and sort` OR use extension
158+
like [BatchFormat](http://visualstudiogallery.msdn.microsoft.com/a7f75c34-82b4-4357-9c66-c18e32b9393e).
159+
- Before committing, run Code Analysis in `Debug` configuration and follow the guidelines
160+
to fix CA issues. Code Analysis commits can be made separately.

ISSUE_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### Installed product versions
2+
- Visual Studio: [example 2015 Professional]
3+
- This extension: [example 1.1.21]
4+
5+
### Description
6+
Replace this text with a short description
7+
8+
### Steps to recreate
9+
1. Replace this
10+
2. text with
11+
3. the steps
12+
4. to recreate
13+
14+
### Current behavior
15+
Explain what it's doing and why it's wrong
16+
17+
### Expected behavior
18+
Explain what it should be doing after it's fixed.

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2016 Omar Rwemi
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

LinePress.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ VisualStudioVersion = 15.0.26228.9
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LinePress", "LinePress\LinePress.csproj", "{E6C624CB-7358-4D93-B9CA-DAAD3DDEE9FF}"
77
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C14B5017-A0C3-4363-893A-5057A0800584}"
9+
ProjectSection(SolutionItems) = preProject
10+
appveyor.yml = appveyor.yml
11+
CHANGELOG.md = CHANGELOG.md
12+
README.md = README.md
13+
EndProjectSection
14+
EndProject
815
Global
916
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1017
Debug|Any CPU = Debug|Any CPU

LinePress/LinePress.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@
6868
</Compile>
6969
</ItemGroup>
7070
<ItemGroup>
71+
<Content Include="..\LICENSE">
72+
<Link>Resources\LICENSE</Link>
73+
<IncludeInVSIX>true</IncludeInVSIX>
74+
</Content>
7175
<None Include="app.config" />
7276
<None Include="Key.snk" />
7377
<None Include="packages.config" />

LinePress/source.extension.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ static class Vsix
99
{
1010
public const string Id = "13d97f3e-75e2-4715-a444-715b5f39f0a4";
1111
public const string Name = "Line Press";
12-
public const string Description = @"View more code on your display by controlling the height of blank lines and curly braces.";
12+
public const string Description = @"Line Press allows you to control the height of empty lines and curly braces. Reclaiming vertical space to display more code.";
1313
public const string Language = "en-US";
1414
public const string Version = "1.0";
1515
public const string Author = "Omar Rwemi";
16-
public const string Tags = "compress, empty, line, curly, brace, more, space";
16+
public const string Tags = "compress, empty, line, curly, brace, height, more, vertical, space";
1717
}
1818
}

LinePress/source.extension.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<value>Line Press</value>
122122
</data>
123123
<data name="112" xml:space="preserve">
124-
<value>View more code on your display by controlling the height of blank lines and curly braces.</value>
124+
<value>Line Press allows you to control the height of empty lines and curly braces. Reclaiming vertical space to display more code.</value>
125125
</data>
126126
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
127127
<data name="400" type="System.Resources.ResXFileRef, System.Windows.Forms">

LinePress/source.extension.vsixmanifest

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
<Metadata>
44
<Identity Id="13d97f3e-75e2-4715-a444-715b5f39f0a4" Version="1.0" Language="en-US" Publisher="Omar Rwemi" />
55
<DisplayName>Line Press</DisplayName>
6-
<Description xml:space="preserve">View more code on your display by controlling the height of blank lines and curly braces.</Description>
6+
<Description xml:space="preserve">Line Press allows you to control the height of empty lines and curly braces. Reclaiming vertical space to display more code.</Description>
7+
<License >Resources\LICENSE</License>
78
<Icon>Resources\Icon.png</Icon>
89
<PreviewImage>Resources\PreviewImage.png</PreviewImage>
9-
<Tags>compress, empty, line, curly, brace, more, space</Tags>
10+
<Tags>compress, empty, line, curly, brace, height, more, vertical, space</Tags>
1011
</Metadata>
1112
<Installation>
1213
<InstallationTarget Version="[14.0,15.0]" Id="Microsoft.VisualStudio.Pro" />

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Line Press
2+
3+
**Line Press** is a Visual Studio extension that allows you to control the height of empty lines and curly braces.
4+
<br/>Reclaiming vertical space to display more code.
5+
6+
<!-- Replace this badge with your own-->
7+
[![Build status](https://ci.appveyor.com/api/projects/status/hv6uyc059rqbc6fj?svg=true)](https://ci.appveyor.com/project/madskristensen/extensibilitytools)
8+
9+
<!-- Update the VS Gallery link after you upload the VSIX-->
10+
Download this extension from [Visual Studio Marketplace](https://visualstudiogallery.msdn.microsoft.com/[GuidFromGallery])
11+
12+
13+
---------------------------------------
14+
15+
16+
#### Without Line Press
17+
![Sample1](screenshots/Before.png)
18+
19+
20+
#### With Line Press
21+
![Sample1](screenshots/After.png)
22+
23+
24+
#### Settings
25+
![Sample1](screenshots/Settings.png)
26+
27+
28+
29+
See the [change log](CHANGELOG.md) for changes and road map.
30+
31+
32+
## License
33+
[Apache 2.0](LICENSE)

0 commit comments

Comments
 (0)