Skip to content

Commit 1275445

Browse files
author
Stanislav Bakhuta
committed
Add project files.
0 parents  commit 1275445

186 files changed

Lines changed: 11260 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Top-most EditorConfig file
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
end_of_line = crlf
7+
indent_size = 4
8+
9+
[*.json]
10+
indent_style = space
11+
indent_size = 2

.gitattributes

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
7+
# Standard to msysgit
8+
*.doc diff=astextplain
9+
*.DOC diff=astextplain
10+
*.docx diff=astextplain
11+
*.DOCX diff=astextplain
12+
*.dot diff=astextplain
13+
*.DOT diff=astextplain
14+
*.pdf diff=astextplain
15+
*.PDF diff=astextplain
16+
*.rtf diff=astextplain
17+
*.RTF diff=astextplain

.github/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.

.github/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.

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
packages
2+
node_modules.7z
3+
4+
# User files
5+
*.suo
6+
*.user
7+
*.sln.docstates
8+
.vs/
9+
10+
# Build results
11+
12+
[Dd]ebug/
13+
[Rr]elease/
14+
x64/
15+
[Bb]in/
16+
[Oo]bj/
17+
18+
# MSTest test Results
19+
[Tt]est[Rr]esult*/
20+
[Bb]uild[Ll]og.*
21+
22+
# NCrunch
23+
*.ncrunchsolution
24+
*.ncrunchproject
25+
_NCrunch_WebCompiler#Node
26+
27+
#Node
28+
src/WebCompiler/Node/node_modules/*
29+
/src/WebCompiler/Node/node.exe
30+
/src/WebCompiler/Node/package-lock.json

CHANGELOG.md

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# Roadmap
2+
3+
- [ ] Generate gulpfile.js from compilerconfig.json (#34)
4+
- [ ] Preview window (#6)
5+
- [ ] File globbing pattern support (#49)
6+
- [ ] Run compilers from a node server
7+
8+
Features that have a checkmark are complete and available for
9+
download in the
10+
[nightly build](http://vsixgallery.com/extension/148ffa77-d70a-407f-892b-9ee542346862/).
11+
12+
# Changelog
13+
14+
These are the changes to each version that has been released
15+
on the official Visual Studio extension gallery.
16+
17+
**2021-11-30**
18+
19+
## 1.14.2
20+
- [x] Restore Babel to resolve errors with JavaScript files
21+
22+
**2021-11-24**
23+
24+
## 1.14.1
25+
- [x] SASS: Replace Node Sass with Dart Sass (#8)
26+
- [x] SASS: Add useNodeSass configuration option for backwards compatibility
27+
28+
## 1.11
29+
30+
**2016-05-10**
31+
32+
- [x] Fix for Sass/LESS imports with comments
33+
- [x] Fix for path containing spaces
34+
35+
## 1.10
36+
37+
**2016-01-19**
38+
39+
- [x] Sass/LESS dependent file support
40+
41+
## 1.9
42+
43+
**2015-12-18**
44+
45+
- [x] Set build action to "None" on default file (#159)
46+
- [x] Minify even when empty (#157)
47+
- [x] Updated node.exe to version 0.12.9
48+
- [x] Fixed issue in the JSON Schema
49+
- [x] Fixed typo in config file (#148)
50+
51+
## 1.8
52+
53+
**2015-10-26**
54+
55+
- [x] Default settings for source maps (#120)
56+
- [x] Support for Stylus compilation (.styl files)
57+
- [x] Sass: Added _sourceMapRoot_ option (#141)
58+
- [x] LESS: Added _sourceMapRoot_ and _sourceMapBasePath_ options
59+
- [x] Fixed: Support for Sass' _include-path_ (#137)
60+
- [x] Fixed: CSS minification stripped selector spaces (#138)
61+
62+
## 1.7
63+
64+
**2015-10-16**
65+
66+
- [x] Clean Error List on _Clean_
67+
- [x] Use new VS2015 Error List API
68+
- [x] MSBuild: Changed build ordering (#124)
69+
- [x] Compile only when files have changed (#121)
70+
- [x] Fixed loss of compile on save (#125)
71+
- [x] LESS: Support for _less-plugin-csscomb_ (#126)
72+
- [x] LESS: Warning no longer stops compilation (#127)
73+
- [x] Initializing automatically in the background
74+
75+
## 1.6
76+
77+
**2015-10-06**
78+
79+
- [x] Add minification default settings
80+
- [x] Support for the old Sass syntax and `.sass` files
81+
- [x] New icon for _Delete all output files_
82+
- [x] Re-compile when defaults file is saved
83+
- [x] Creates output directory if it doesn't exist
84+
85+
## 1.5
86+
87+
**2015-09-29**
88+
89+
- [x] Delete all output files context menu command
90+
- [x] Adjust relative CSS URLs (#104)
91+
- [x] Re-compile support for multiple config files (#99)
92+
- [x] MSBuild task now supports conditions
93+
- [x] MSBuild task now uses BuildDependsOn (#73, #89)
94+
- [x] AutoPrefixer support in the LESS compiler (#35)
95+
- [x] LESS: Added `--no-ie-compat` compiler switch (#111)
96+
- [x] Sass: Adjusted SourceMap relative paths (#108)
97+
- [x] Moved context menu into its own sub menu
98+
99+
## 1.4
100+
101+
**2015-09-22**
102+
103+
- [x] Show compiler warnings as warnings in Error List (#80)
104+
- [x] Universal Windows Apps support (#46, #84)
105+
- [x] Better logic for (re-)building the node.js modules (#98)
106+
- [x] ES6 and JSX compiler using Babel
107+
- [x] Better minification default options
108+
- [x] Don't check out files that didn't change (#101)
109+
- [x] SaveAll no longer produces an error (#97)
110+
111+
## 1.3
112+
113+
**2015-08-24**
114+
115+
- [x] MSBuild targets `Compile` instead of `Build` (#73)
116+
- [x] Task Runner Explorer integration
117+
- [x] Command line support
118+
- [x] Optimize compilation of newly added configs (#72)
119+
- [x] Use `node-sass` to compile Sass files (#74)
120+
- [x] Source Maps support for Sass compiler
121+
- [x] LESS: Adjust relative paths in @import files by default
122+
- [x] Project wide global compiler options (#69)
123+
124+
## 1.2
125+
126+
**2015-08-07**
127+
128+
- [x] Shortcut to easily setup compilation of single files
129+
- [x] LESS: Added StrictUnits and RootPath compiler support
130+
- [x] LESS: Added relative URL compiler support (#63)
131+
- [x] Use the official CoffeeScript compiler (#68)
132+
- [x] Enable source maps for Iced CoffeeScript
133+
- [x] Compile up the LESS @import chain (#67)
134+
135+
## 1.1
136+
137+
**2015-08-03**
138+
139+
- [x] Support paths with spaces (#63)
140+
- [x] Added "Compile All" button (#61)
141+
- [x] Support for Iced CoffeeScript
142+
143+
## 1.0
144+
145+
**2015-07-20**
146+
147+
- [x] Compilation of LESS, Scss and (Iced)CoffeeScript files
148+
- [x] Saving a source file triggers re-compilation automatically
149+
- [x] Specify compiler options for each individual file
150+
- [x] Error List integration
151+
- [x] MSBuild support for CI scenarios
152+
- [x] Minify the compiled output
153+
- [x] Minification options for each language is customizable
154+
- [x] Shows a watermark when opening a generated file

0 commit comments

Comments
 (0)