4 vs代码扩展使工作轻松

Visual Studio Code (VS Code) is praised by many programmers as the ultimate weapon of development. By the extensions, VS Code can almost code in 99% of the programming languages. These extensions are not only a tool for improving the efficiency of Coding but also help us relax our work and bring some fun to the “boring” coding.

Visual Studio Code(VS Code)被许多程序员誉为开发的最终武器。 通过扩展,VS Code几乎可以使用99%的编程语言进行编码。 这些扩展不仅是提高编码效率的工具,而且还可以帮助我们放松工作并为“无聊的”编码带来乐趣。

金融 (Finance)

股票实时报价(Stocks-Live Quotes)

Investing in the stock market is a very good asset appreciation method for programmers. You can keep tracking your favorite stocks’ price in your VS Code status bar, and you do not miss any opportunity to buy and sell stocks.

对于程序员来说,投资股票市场是一种非常好的资产增值方法。 您可以在VS Code状态栏中继续跟踪自己喜欢的股票价格,并且不会错过任何买卖股票的机会。

Core Features

核心功能

  • Support NYSE, NASDAQ, AMEX, ARCA, and BATS exchanges.

    支持NYSENASDAQAMEXARCABATS交易所。

  • Show prices during extended trading hours automatically.

    在延长的交易时间内自动显示价格。
  • Configurable: color-coded by gain/loss.

    可配置:按增益/损耗进行颜色编码。
  • Configurable: refresh Interval.

    可配置:刷新间隔。

Configurations

构型

This extension uses iex cloud APIKeys, we need to log in the iexcloud.io to apply for the free APIKeys — 500,000 req/month rate limit.

此扩展使用iex cloud APIKeys,我们需要登录iexcloud.io申请免费的APIKeys-500,000 req / month速率限制。

After registering on iex cloud, you only need to copy the API Tokens(prefix pk_) in the console to the vscode-stocks.iexCloudAPIKeys in the settings.json, as shown in the figure below.

在注册后IEX云你只需要在API令牌(前缀PK_)在控制台复制到vscode-stocks.iexCloudAPIKeyssettings.json ,如图下图。

Screenshot of iexcloud console
Screenshot of iexcloud console
iexcloud控制台的屏幕截图
a picture show Settings of stock extension
Settings of stock extension
股票延期的设置

In settings.json you can also set the stocks symbols, stocks color style, and refresh interval. I set the refresh interval -30000(5 minutes) to save my free API request.

settings.json您还可以设置股票符号股票颜色样式刷新间隔。 我将刷新间隔设置为30000(5 minutes)以保存我的免费API请求。

The stock price displayed in your VS Code Status Bar is like the below.

VS代码状态栏中显示的股票价格如下。

a screenshort show the sample of color setting
gain-green/loss-red color style
增益绿色/红色损失颜色样式
A screenshot shows the sample of white color setting
gain/loss-white color style
增白/失白

比特币观察者(Bitcoinwatcher)

Some programmers have Bitcoins and pay close attention to Bitcoin prices. Install this extension and your status bar can display the current bitcoin value.

一些程序员拥有比特币,并密切关注比特币价格。 安装此扩展程序,您的状态栏即可显示当前的比特币值。

Bitcoin price in the status bar
Bitcoin price in the status bar
状态栏中的比特币价格

音乐(Music)

a picture of desktop with macbookpro, headphone, iPad Pro and Keyboard.
Photo by Joshua Oluwagbemiga on Unsplash
Joshua OluwagbemigaUnsplash上的 照片

Many programmers have the habit of listening to music during coding. It’s time to introduce the music player to our favorite IDE.

许多程序员都有在编码过程中听音乐的习惯。 现在是时候将音乐播放器引入我们最喜欢的IDE了。

Spotify的音乐时间 (Music Time for Spotify)

This extension is one of the best VS Code music players I have ever used. Both the UI and functions are very professional. In fact, it supports many IDEs such as IntelliJ, Atom, PhpStorm, and Android Studio. Its developers have many other products. If you are interested in it, you can go to their website.

此扩展程序是我用过的最好的VS Code音乐播放器之一。 UI和功能都非常专业。 实际上,它支持许多IDE,例如IntelliJ,Atom,PhpStorm和Android Studio。 它的开发人员还有许多其他产品。 如果您对此感兴趣,可以访问他们的网站

a picture shows Music Time for Spotify UI
Music Time for Spotify UI
Spotify UI的音乐时间

Core Features

核心功能

  • Integrated player controls: Control your music right from the status bar of your editor.

    集成的播放器控件:可以从编辑器的状态栏中直接控制音乐。

  • AI playlists: Get a personalized AI playlist generated using machine learning to help you focus.

    AI播放列表:获取使用机器学习生成的个性化AI播放列表,以帮助您集中精力。

  • Metrics profile: Learn how the underlying metrics of music (including tempo, loudness, speechiness, energy, and valence) impact how you code.

    指标配置文件:了解音乐的基本指标(包括速度,响度,语音,能量和化合价)如何影响编码方式。

  • Personal top 40: See your most productive songs, artists, and genres every week in your weekly top 40.

    个人前40名:每周在前40名中查看最有成效的歌曲,艺术家和流派。

  • Global top 40: Discover new music from developers around the world in our Software Top 40 playlist.

    全球前40名:在我们的“软件前40名”播放列表中发现来自全球开发人员的新音乐。

Software Top 40 is for software developers, ranking the most productive songs based on coding productivity data. This list solves my pain points in selecting and finding songs. Every day, I only need to put on headphones, play this list directly, and start coding.

软件前40名 对于软件开发人员,根据编码效率数据对最有生产力的歌曲进行排名。 这份清单解决了我选择和查找歌曲时的痛点。 每天,我只需要戴上耳机,直接播放此列表,然后开始编码。

a screenshot of Music Time for Spotify in My VS Code.
Music Time for Spotify in My VS Code.
My VS Code中Spotify的音乐时间。

社会的 (Social)

Sometimes we need to surf social media to relax. Reddit is a wonderful choice.

有时我们需要浏览社交媒体以放松身心。 Reddit是一个很棒的选择。

Reddit查看器 (Reddit Viewer)

This is a very programmer-style app. At first, it looks like a piece of code. If you look carefully, you will find the Reddit in your VS Code.

这是一个非常程序员风格的应用程序。 首先,它看起来像一段代码。 如果仔细看,您会在VS Code中找到Reddit。

a screenshot show Display Reddit Article in VS Code
Display Reddit Article
显示Reddit文章
a Zoom in screesshot of Reddit Viewer in VS Code
Zoom in of Reddit Viewer in VS Code
VS Code中的Reddit Viewer放大

Core Features

核心功能

  • Widget Viewer and Code Viewer

    窗口小部件查看器和代码查看器
  • Global Search

    全球搜寻
  • Login Reddit

    登录Reddit
  • Brower Articles

    浏览文章
  • Support change Code Style: JavaScript, TypeScript, PHP

    支持更改代码样式:JavaScript,TypeScript,PHP
a gif shows how to Login with your reddit account
Login with your reddit account
使用您的reddit帐户登录
a gif picture shows Search through Subreddits and articles
Search through Subreddits and articles
搜索子目录和文章
a screenshot show the setting of Change Code-style
Change Code-style
更改代码样式

The purpose of this article is not to tell you how to slack off at work, but to bring some joy to your “boring” coding work, you can get some relaxation and better complete the coding work.

本文的目的不是要告诉您如何放松工作,而是要给“无聊”的编码工作带来一些乐趣,您可以得到一些放松并更好地完成编码工作。

Your work is your hobby. It’s a fortunate thing. I love coding.

您的工作是您的业余爱好。 这是一件幸运的事。 我喜欢编码。

— By author

—作者

A Picture shows “I love coding”, the word love is a heart shape.

Thank you for your reading.

感谢您的阅读。

翻译自: https://medium.com/@saneryee_studio/4-vs-code-extensions-to-slack-off-at-work-8de88c6ec793

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值