Skip to content

Commit

Permalink
Refactoring...
Browse files Browse the repository at this point in the history
  • Loading branch information
generalov-epm committed Mar 1, 2018
1 parent 77a00dc commit f02b422
Show file tree
Hide file tree
Showing 79 changed files with 1,459 additions and 15,791 deletions.
10 changes: 10 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 8
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ npm-debug.log*

# Dependency directory
node_modules
.vscode-test
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"printWidth": 120
}
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
The MIT License (MIT)

Copyright (c) 2016-2018 Ivan Gabriele <[email protected]>
Copyright (c) 2018 Evgeniy Generalov <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
49 changes: 20 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
**Visual Studio Code Team Foundation Server integration**

[![The MIT License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![GitHub](https://img.shields.io/github/release/ivangabriele/vscode-tfs.svg?style=flat-square)](https://github.com/ivangabriele/vscode-tfs/releases)
[![Visual Studio Marketplace](https://vsmarketplacebadge.apphb.com/installs-short/ivangabriele.vscode-tfs.svg?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=ivangabriele.vscode-tfs)
[![David](https://img.shields.io/david/ivangabriele/vscode-tfs.svg?style=flat-square)](https://david-dm.org/ivangabriele/vscode-tfs?type=dev)
[![David](https://img.shields.io/david/dev/ivangabriele/vscode-tfs.svg?style=flat-square)](https://david-dm.org/ivangabriele/vscode-tfs?type=dev)
[![GitHub](https://img.shields.io/github/release/generalov/vscode-tfs.svg?style=flat-square)](https://github.com/generalov/vscode-tfs/releases)
[![Visual Studio Marketplace](https://vsmarketplacebadge.apphb.com/installs-short/generalov.vscode-tfs.svg?style=flat-square)](https://marketplace.visualstudio.com/items?itemName=generalov.vscode-tfs)
[![David](https://img.shields.io/david/generalov/vscode-tfs.svg?style=flat-square)](https://david-dm.org/generalov/vscode-tfs?type=dev)
[![David](https://img.shields.io/david/dev/generalov/vscode-tfs.svg?style=flat-square)](https://david-dm.org/generalov/vscode-tfs?type=dev)

[![NSP Status](https://nodesecurity.io/orgs/ivan-gabriele/projects/06083557-7055-4c2d-a1f0-e9f10c671faf/badge)](https://nodesecurity.io/orgs/ivan-gabriele/projects/06083557-7055-4c2d-a1f0-e9f10c671faf)

Expand All @@ -15,9 +15,6 @@

> **You MUST have a Visual Studio with Team Foundation Server features to be able to use this extension.**
> **I used TFS because my last company did but I don't use it anymore. So I, and most of this extension users, would be really happy to find some people able to contribute to this extension (and its [tfs](https://github.com/ivangabriele/tfs) dependency) :star:**<br>
> Contact me if you're willing to help at [email protected] :mailbox:
## Installation

1. Open up VS Code
Expand All @@ -28,53 +25,47 @@
6. Select **`TFS`** extension and hit **`ENTER`**

## Configuration
You could provide the path to the TF command line client used by the extension to perform TFVC actions.
You need to provide a path to the TF command line client used by the extension to perform TFS actions.
To set this path, add the following entry to Settings (**File > Preferences > Settings**):
```javascript
"vscode-tfs.tfPath": "<path-to-tf-command-line>"
"tfs.location": "<path-to-tf-command-line>"
```
If you plan to use the `tf.exe` command line provided by the Visual Studio IDE, the value to provide will be similar to `C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\TF.exe`.

## Usage

Hit **`Alt + T`** to list available commands for the current edited file.

## Features

- **Automatic Checkout (for Edit)** when a file is modified.
- **Automatic Checkout (for Edit)** on saving a file.

### List of available commands

- **Add**
- **Checkin**
- **Get (entire workspace)**
- **Status (Pending Changes)**
- **Checkout**
- **Undo**
- **Open In Browser**

## Issues

Please report any issue or comment [here](https://github.com/ivangabriele/vscode-tfs/issues).
Please report any issue or comment [here](https://github.com/generalov/vscode-tfs/issues).

## Contribute

To be able to contribute to TFS development, you need to be at ease with **NodeJS** language and **Git** usage.

git clone https://github.com/ivangabriele/vscode-tfs.git
git clone https://github.com/generalov/vscode-tfs.git
cd vscode-tfs
npm install
npm install grunt-cli -g
grunt githooks

The last command create a `pre-commit` hook to ensure that you don't commit anything if tests fail.
## About the fork

## Roadmap
This is a fork of [ivangabriele.vscode-tfs ](https://marketplace.visualstudio.com/items/ivangabriele.vscode-tfs) extension by Ivan Gabriele. Changes are:

1. **Checkin multiple files**
2. File name in status bar message (when suitable)
3. **Exclude** command
* Configurable path to `tf.exe` binary
* New TFS menu commands
* Fixed checkout for edit on save
* Improved error handling

#### Links

- [TFS extension on Github](https://github.com/ivangabriele/vscode-tfs)
- [TFS extension on Visual Studio Market Place](https://marketplace.visualstudio.com/items/ivangabriele.vscode-tfs)
- [MIT Licence](https://github.com/ivangabriele/vscode-tfs/blob/master/LICENCE)
- [TFS extension on Github](https://github.com/generalov/vscode-tfs)
- [TFS extension on Visual Studio Market Place](https://marketplace.visualstudio.com/items/generalov.vscode-tfs)
- [MIT Licence](https://github.com/generalov/vscode-tfs/blob/master/LICENCE)
Binary file removed doc/fonts/OpenSans-Bold-webfont.eot
Binary file not shown.
Loading

0 comments on commit f02b422

Please sign in to comment.