<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Applications | Zihao Viston Wang&#39;s Personal Website</title>
    <link>https://zihaowang.cn/en/tags/applications/</link>
      <atom:link href="https://zihaowang.cn/en/tags/applications/index.xml" rel="self" type="application/rss+xml" />
    <description>Applications</description>
    <generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 12 Jul 2026 00:00:00 +0000</lastBuildDate>
    <image>
      <url>https://zihaowang.cn/media/icon_hu_472dc9f7e3028b6d.png</url>
      <title>Applications</title>
      <link>https://zihaowang.cn/en/tags/applications/</link>
    </image>
    
    <item>
      <title>Project Showcase | Stata All in One—A Seamless Stata Experience in VS Code</title>
      <link>https://zihaowang.cn/en/post/stata-all-in-one-news/</link>
      <pubDate>Sun, 12 Jul 2026 00:00:00 +0000</pubDate>
      <guid>https://zihaowang.cn/en/post/stata-all-in-one-news/</guid>
      <description>


&lt;details class=&#34;print:hidden xl:hidden&#34; open&gt;
  &lt;summary&gt;Table of Contents&lt;/summary&gt;
  &lt;div class=&#34;text-sm&#34;&gt;
  &lt;nav id=&#34;TableOfContents&#34;&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#project-statistics&#34;&gt;Project Statistics&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#1-who-is-it-for&#34;&gt;1. Who Is It For?&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#2-in-one-sentence&#34;&gt;2. In One Sentence&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#3-get-started-in-three-minutes&#34;&gt;3. Get Started in Three Minutes&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&#34;#installation-is-straightforward&#34;&gt;Installation is straightforward&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href=&#34;#once-installed-open-any-do-file-and-start-working&#34;&gt;Once installed, open any &lt;code&gt;.do&lt;/code&gt; file and start working&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#4-write-code-more-efficiently&#34;&gt;4. Write Code: More Efficiently&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#5-run-code-view-results-directly-in-vs-code&#34;&gt;5. Run Code: View Results Directly in VS Code&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#6-manage-code-organize-it-with-a-smart-outline&#34;&gt;6. Manage Code: Organize It with a Smart Outline&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#7-view-data-without-constantly-switching-windows&#34;&gt;7. View Data: Without Constantly Switching Windows&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#8-code-comfort-separators-comments-and-safe-renaming&#34;&gt;8. Code Comfort: Separators, Comments, and Safe Renaming&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#9-easy-sharing-present-your-process-and-results-elegantly&#34;&gt;9. Easy Sharing: Present Your Process and Results Elegantly&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#10-ai-integration-let-ai-run-stata-not-just-read-code&#34;&gt;10. AI Integration: Let AI Run Stata, Not Just Read Code&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#11-workflow-a-simple-example&#34;&gt;11. Workflow: A Simple Example&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#12-closing-thoughts&#34;&gt;12. Closing Thoughts&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&#34;#related-links&#34;&gt;Related Links&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/nav&gt;
  &lt;/div&gt;
&lt;/details&gt;

&lt;h3 id=&#34;project-statistics&#34;&gt;Project Statistics&lt;/h3&gt;
&lt;div style=&#34;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;margin:0 auto!important;padding:0!important;line-height:0!important;&#34;&gt;
&lt;a href=&#34;https://marketplace.visualstudio.com/items?itemName=ZihaoVistonWang.stata-all-in-one&#34; style=&#34;display:inline-flex!important;margin:0!important;padding:0!important;&#34;&gt;&lt;img height=&#34;20&#34; src=&#34;https://img.shields.io/endpoint?url=https%3A%2F%2Fapi.zihaowang.cn%2Fvscode-install&amp;style=for-the-badge&amp;labelColor=363a4f&amp;color=ff6b81&amp;label=VS%20Code%20Installs&#34; alt=&#34;VS Code install count&#34; style=&#34;display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:none!important;&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;https://open-vsx.org/extension/ZihaoVistonWang/stata-all-in-one&#34; style=&#34;display:inline-flex!important;margin:0!important;padding:0!important;&#34;&gt;&lt;img height=&#34;20&#34; src=&#34;https://img.shields.io/endpoint?url=https://api.zihaowang.cn/openvsx-install&amp;style=for-the-badge&amp;labelColor=363a4f&amp;color=f5a97f&amp;label=Open%20VSX%20Downloads&#34; alt=&#34;Open VSX download count&#34; style=&#34;display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:none!important;&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;https://xhslink.com/o/4Zs0aSfJSK&#34; style=&#34;display:inline-flex!important;margin:0!important;padding:0!important;&#34;&gt;&lt;img height=&#34;20&#34; src=&#34;https://img.shields.io/endpoint?url=https://api.zihaowang.cn/rednote-noteinfo&amp;label=RedNote%20Likes%20%26%20Collections&amp;labelColor=363a4f&amp;color=ffeaa7&amp;style=for-the-badge&#34; alt=&#34;RedNote likes and collections&#34; style=&#34;display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:none!important;&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;https://github.com/ZihaoVistonWang/stata-all-in-one/commits&#34; style=&#34;display:inline-flex!important;margin:0!important;padding:0!important;&#34;&gt;&lt;img height=&#34;20&#34; src=&#34;https://img.shields.io/github/commit-activity/t/ZihaoVistonWang/stata-all-in-one?colorA=363a4f&amp;colorB=7bed9f&amp;style=for-the-badge&amp;label=Revisions&#34; alt=&#34;Revision count&#34; style=&#34;display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:none!important;&#34;&gt;&lt;/a&gt;
&lt;a href=&#34;https://gitee.com/ZihaoVistonWang/stata-all-in-one#项目支持&#34; style=&#34;display:inline-flex!important;margin:0!important;padding:0!important;&#34;&gt;&lt;img height=&#34;20&#34; src=&#34;https://img.shields.io/badge/Click-Project%20Support-brightgreen?colorA=363a4f&amp;colorB=e971b7&amp;style=for-the-badge&#34; alt=&#34;Project support&#34; style=&#34;display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:none!important;&#34;&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;Author: Zihao Wang (College of Economics and Management, Northwest A&amp;amp;F University)&lt;/p&gt;
&lt;p&gt;Email: &lt;a href=&#34;mailto:hi@zihaowang.cn&#34;&gt;hi@zihaowang.cn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Homepage: &lt;a href=&#34;https://zihaowang.cn&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://zihaowang.cn&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;div class=&#34;flex px-4 py-3 mb-6 rounded-md bg-primary-100 dark:bg-primary-900&#34;&gt;
&lt;span class=&#34;pr-3 pt-1 text-primary-600 dark:text-primary-300&#34;&gt;
  &lt;svg height=&#34;24&#34; xmlns=&#34;http://www.w3.org/2000/svg&#34; viewBox=&#34;0 0 24 24&#34;&gt;&lt;path fill=&#34;none&#34; stroke=&#34;currentColor&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34; stroke-width=&#34;1.5&#34; d=&#34;m11.25 11.25l.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0m-9-3.75h.008v.008H12z&#34;/&gt;&lt;/svg&gt;
&lt;/span&gt;
  &lt;span class=&#34;dark:text-neutral-300&#34;&gt;&lt;h3 id=&#34;acknowledgments&#34;&gt;Acknowledgments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;My sincere thanks go to Xiaohongshu user &lt;strong&gt;Rich**d&lt;/strong&gt;, WeChat users &lt;strong&gt;M*k*&lt;/strong&gt; and &lt;strong&gt;柿**橙&lt;/strong&gt;, the anonymous user who commented, “A powerful and easy-to-configure extension. Thank you!”, and Buy Me a Coffee supporters &lt;strong&gt;LB**PG@gmail.com&lt;/strong&gt; and &lt;strong&gt;ol***ba@gmail.com&lt;/strong&gt; for their generous support of this project.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I would also like to thank the Agricultural Economics and Management Innovation Team at Northwest A&amp;amp;F University for its research support, financial support, and &lt;a href=&#34;https://mp.weixin.qq.com/s/kxSfIF2nu1LuUzC2NvKWog&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;promotional support&lt;/a&gt; for this project.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I am grateful to Assoc. Prof. &lt;a href=&#34;https://lingnan.sysu.edu.cn/faculty/lianyujun&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Lian Yujun&lt;/a&gt; for his patient guidance and to the &lt;a href=&#34;https://www.lianxh.cn/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Lianxh&lt;/a&gt; platform for its &lt;a href=&#34;https://www.lianxh.cn/details/1865.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;promotional support&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I am also grateful to &lt;a href=&#34;http://www.uone-tech.cn/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Beijing UONE Information Technology Co., Ltd. (UONE Technology)&lt;/a&gt;, an authorized Stata reseller, for its &lt;a href=&#34;https://mp.weixin.qq.com/s/UhLmoGK4VhYULACagjbcTg&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;promotional support&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;hr&gt;
&lt;p&gt;For teachers, students, and researchers who use Stata regularly, writing do-files, running commands, reviewing results, and organizing code are all part of the daily routine.&lt;/p&gt;
&lt;p&gt;In practice, however, we often encounter a few &lt;strong&gt;minor but persistent inconveniences&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;As do-files grow longer, finding a particular section of code becomes increasingly difficult;&lt;/li&gt;
&lt;li&gt;You may want to write Stata code in VS Code but worry that the setup will be complicated;&lt;/li&gt;
&lt;li&gt;Code, output, graphs, and datasets are often scattered across multiple windows;&lt;/li&gt;
&lt;li&gt;You may want AI to help inspect your code, but AI tools cannot easily run Stata to verify their suggestions;&lt;/li&gt;
&lt;li&gt;And so on.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Stata All in One&lt;/strong&gt; was developed to address these everyday pain points.&lt;/p&gt;
&lt;p&gt;Simply put, its goal is to help users &lt;strong&gt;write, run, and manage Stata more comfortably within VS Code&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;It is important to note that &lt;strong&gt;Stata All in One&lt;/strong&gt; and Jupyter Notebooks (&lt;code&gt;.ipynb&lt;/code&gt;) serve different purposes. The former focuses on providing a complete Stata programming experience in VS Code, whereas the latter centers on interactive documents and requires a Python environment together with the &lt;code&gt;nbstata&lt;/code&gt; package.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;1-who-is-it-for&#34;&gt;1. Who Is It For?&lt;/h2&gt;
&lt;p&gt;This extension may be worth trying if you:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Frequently work with &lt;code&gt;.do&lt;/code&gt; files and want better syntax highlighting, code completion, and navigation;&lt;/li&gt;
&lt;li&gt;Prefer managing research projects in VS Code, Cursor, Trae, or similar editors;&lt;/li&gt;
&lt;li&gt;Want to write code, run analyses, inspect results, and view data within a single interface;&lt;/li&gt;
&lt;li&gt;Work with long do-files that need to be organized into clearly defined sections;&lt;/li&gt;
&lt;li&gt;Want to experiment with AI-assisted Stata programming and debugging.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&#34;2-in-one-sentence&#34;&gt;2. In One Sentence&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Stata All in One is a VS Code extension that provides Stata code execution, syntax highlighting, code completion, smart outlines, data viewing, graphical output, AI Skill integration, and more directly within VS Code.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;More importantly, it works &lt;strong&gt;out of the box&lt;/strong&gt;: all features are implemented natively within the extension, with no need to install or configure additional environments such as Python or Node.js.&lt;/p&gt;
&lt;p&gt;The following image provides an overview of Stata All in One. Click it to view the full-size version:&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Feature overview&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/example_hu_b7ee3db900172500.webp 400w,
               /en/post/stata-all-in-one-news/img/example_hu_6a1809dca4a939a3.webp 760w,
               /en/post/stata-all-in-one-news/img/example_hu_a7f9f399b1d5a389.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/example_hu_b7ee3db900172500.webp&#34;
               width=&#34;760&#34;
               height=&#34;436&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Note: Some features require a valid &lt;code&gt;STATA.LIC&lt;/code&gt; file. Please use a licensed copy of Stata to access the complete feature set. You may contact &lt;a href=&#34;http://xhslink.com/o/QYWdYfrEhy&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Beijing UONE Information Technology Co., Ltd. (UONE Technology)&lt;/a&gt;, an authorized partner of Stata Corp, LLC, to purchase a licensed copy or request a trial.&lt;/p&gt;&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 id=&#34;3-get-started-in-three-minutes&#34;&gt;3. Get Started in Three Minutes&lt;/h2&gt;
&lt;h3 id=&#34;installation-is-straightforward&#34;&gt;Installation is straightforward&lt;/h3&gt;
&lt;p&gt;If you use VS Code, search for &lt;code&gt;Stata All in One&lt;/code&gt; in the Extensions Marketplace and click &lt;strong&gt;Install&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Stata All in One in the VS Code Marketplace&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/market_hu_d6403b97d5290bc3.webp 400w,
               /en/post/stata-all-in-one-news/img/market_hu_53304299ff144034.webp 760w,
               /en/post/stata-all-in-one-news/img/market_hu_c8ab60a785564e8a.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/market_hu_d6403b97d5290bc3.webp&#34;
               width=&#34;760&#34;
               height=&#34;516&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;If you use Cursor, Trae, or another VS Code-based editor, you can download the &lt;code&gt;.vsix&lt;/code&gt; file from the &lt;a href=&#34;https://open-vsx.org/extension/ZihaoVistonWang/stata-all-in-one&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Open VSX Registry&lt;/a&gt; or &lt;a href=&#34;https://github.com/ZihaoVistonWang/stata-all-in-one&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;GitHub&lt;/a&gt; using the links at the end of this article. Then select &lt;strong&gt;Install from VSIX&lt;/strong&gt; in the editor’s Extensions panel.&lt;/p&gt;
&lt;h3 id=&#34;once-installed-open-any-do-file-and-start-working&#34;&gt;Once installed, open any &lt;code&gt;.do&lt;/code&gt; file and start working&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;The extension will attempt to detect your local Stata installation and complete the configuration automatically.&lt;/p&gt;
&lt;p&gt;A small number of users may need to configure it manually by following the on-screen instructions. A video tutorial is available at &lt;a href=&#34;https://pan.zihaowang.cn/share/stata-all-in-one/setup.mp4&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://pan.zihaowang.cn/share/stata-all-in-one/setup.mp4&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This may occur because of conflicts with other Stata-related extensions or the use of an unregistered portable installation of Stata.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The main execution shortcut is &lt;code&gt;Ctrl/Cmd + D&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Running Stata code&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/run_hu_b81bcaf114376968.webp 400w,
               /en/post/stata-all-in-one-news/img/run_hu_59b2b6df31665377.webp 760w,
               /en/post/stata-all-in-one-news/img/run_hu_c9f6cab501242637.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/run_hu_b81bcaf114376968.webp&#34;
               width=&#34;760&#34;
               height=&#34;516&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;The extension automatically determines what to run based on the current cursor position:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If the cursor is on a regular line of code, it runs the current line;&lt;/li&gt;
&lt;li&gt;If multiple lines are selected, it runs the selected code;&lt;/li&gt;
&lt;li&gt;If the cursor is on a section heading, it runs the entire section.
The section-heading feature is introduced later in this article.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is also one of the features I use most frequently. When writing empirical code for a research paper, I usually divide the do-file into sections such as data cleaning, variable construction, descriptive statistics, baseline regressions, and robustness checks. I can then run whichever section I need without manually selecting the entire block.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;4-write-code-more-efficiently&#34;&gt;4. Write Code: More Efficiently&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;The first thing Stata All in One improves is the code-writing experience.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It provides &lt;strong&gt;syntax highlighting and code completion&lt;/strong&gt; for &lt;code&gt;.do&lt;/code&gt; files and supports custom highlighting for commonly used community-contributed commands. Commands such as &lt;code&gt;reghdfe&lt;/code&gt;, &lt;code&gt;ivreghdfe&lt;/code&gt;, &lt;code&gt;gtools&lt;/code&gt;, &lt;code&gt;winsor2&lt;/code&gt;, and &lt;code&gt;outreg2&lt;/code&gt; can all be added to your custom highlighting list.&lt;/p&gt;
&lt;p&gt;After you have run your code at least once, the extension can also provide &lt;strong&gt;variable-name completion based on the current dataset&lt;/strong&gt;. This is especially useful when working with datasets containing many variables: type the first few characters, and the relevant variable names will appear as suggestions directly in the editor.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Code completion&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/hint_hu_91b585dca378458d.webp 400w,
               /en/post/stata-all-in-one-news/img/hint_hu_bc35d362f3671646.webp 760w,
               /en/post/stata-all-in-one-news/img/hint_hu_d64ee52caf633c62.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/hint_hu_91b585dca378458d.webp&#34;
               width=&#34;760&#34;
               height=&#34;516&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Hovering over certain Stata commands also displays brief help information.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Hover help&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/help_hu_c48308bdfaba4204.webp 400w,
               /en/post/stata-all-in-one-news/img/help_hu_2898fdd62984fb13.webp 760w,
               /en/post/stata-all-in-one-news/img/help_hu_e953c6443ca202a0.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/help_hu_c48308bdfaba4204.webp&#34;
               width=&#34;760&#34;
               height=&#34;516&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;5-run-code-view-results-directly-in-vs-code&#34;&gt;5. Run Code: View Results Directly in VS Code&lt;/h2&gt;
&lt;p&gt;Traditionally, running Stata from VS Code involves sending code to an external Stata window. This approach is reliable and familiar to many users, so Stata All in One continues to support an &lt;strong&gt;external application mode&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;External application mode&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/app-run_hu_d71448d4a0f0793b.webp 400w,
               /en/post/stata-all-in-one-news/img/app-run_hu_9d84265771afb13f.webp 760w,
               /en/post/stata-all-in-one-news/img/app-run_hu_573225525f6c6037.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/app-run_hu_d71448d4a0f0793b.webp&#34;
               width=&#34;760&#34;
               height=&#34;386&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;The extension also provides an &lt;strong&gt;embedded console mode&lt;/strong&gt;, allowing Stata code to run inside VS Code and display its output directly in the editor.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Embedded console mode&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/run2_hu_8d5dc00df50db949.webp 400w,
               /en/post/stata-all-in-one-news/img/run2_hu_af35f4bb7d0d41f.webp 760w,
               /en/post/stata-all-in-one-news/img/run2_hu_129df99bbbbc4b06.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/run2_hu_8d5dc00df50db949.webp&#34;
               width=&#34;760&#34;
               height=&#34;516&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;The console can display:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Command output;&lt;/li&gt;
&lt;li&gt;Error messages;&lt;/li&gt;
&lt;li&gt;Command-line interactions;&lt;/li&gt;
&lt;li&gt;Graphical output;&lt;/li&gt;
&lt;li&gt;Execution time and progress information for selected commands.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;For users who prefer to complete their work in a single window, this creates a more seamless experience: write code on one side, inspect results on the other, and view graphs directly in the console.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Of course, users who prefer Stata’s native interface can continue using the external application mode. The goal of this extension is not to replace everyone’s existing workflow, but to provide an additional option.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;6-manage-code-organize-it-with-a-smart-outline&#34;&gt;6. Manage Code: Organize It with a Smart Outline&lt;/h2&gt;
&lt;p&gt;As an empirical project develops, its do-files often become very long. Without a clear structure, it can be difficult to remember which section contains variable construction, baseline regressions, heterogeneity analysis, or other parts of the workflow.&lt;/p&gt;
&lt;p&gt;Stata All in One can recognize specially formatted comment headings and automatically generate a document outline. For example, users can structure a do-file using the following comments:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**# 1. Data Cleaning
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**## 1.1 Import Data
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;do something ...
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**## 1.2 Merge Data
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;do something ...
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**# 2. Baseline Regressions
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**## 2.1 Main Regression
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;do something ...
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**## 2.2 Add Fixed Effects
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;do something ...
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**# And so on
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The extension recognizes these headings and generates a hierarchical structure in VS Code’s Outline view. Even when a do-file contains hundreds or thousands of lines, users can navigate through it as easily as browsing the table of contents in a Word document.&lt;/p&gt;
&lt;p&gt;Comment headings from &lt;code&gt;**#&lt;/code&gt; to &lt;code&gt;**######&lt;/code&gt; are recognized, supporting up to six heading levels. The shortcuts &lt;code&gt;Ctrl/Cmd + 1&lt;/code&gt; through &lt;code&gt;Ctrl/Cmd + 6&lt;/code&gt; convert the selected text into the corresponding heading level, while &lt;code&gt;Ctrl/Cmd + 0&lt;/code&gt; restores it to a regular line of code.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Smart outline&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/outline_hu_71ebea9a1e341023.webp 400w,
               /en/post/stata-all-in-one-news/img/outline_hu_406e8357e4355f3e.webp 760w,
               /en/post/stata-all-in-one-news/img/outline_hu_3e7bea4e404484fa.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/outline_hu_71ebea9a1e341023.webp&#34;
               width=&#34;760&#34;
               height=&#34;489&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Multilevel numbering can also be enabled, allowing the outline to display structures such as &lt;code&gt;1.1&lt;/code&gt; and &lt;code&gt;1.2.1&lt;/code&gt;. This is particularly useful for replication packages, course materials, and reusable project templates.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;7-view-data-without-constantly-switching-windows&#34;&gt;7. View Data: Without Constantly Switching Windows&lt;/h2&gt;
&lt;p&gt;In many cases, you do not need to edit a dataset formally—you simply want to inspect a &lt;code&gt;.dta&lt;/code&gt; file quickly.&lt;/p&gt;
&lt;p&gt;Stata All in One includes a data viewer that allows you to &lt;strong&gt;open &lt;code&gt;.dta&lt;/code&gt; files directly within VS Code&lt;/strong&gt;. It displays information such as variable names, variable labels, and variable types, and loads rows and columns on demand.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Variable information&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/data1_hu_b78d888b77d75fc0.webp 400w,
               /en/post/stata-all-in-one-news/img/data1_hu_ddae956c40beff85.webp 760w,
               /en/post/stata-all-in-one-news/img/data1_hu_dd2bfa1ff449d9d7.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/data1_hu_b78d888b77d75fc0.webp&#34;
               width=&#34;760&#34;
               height=&#34;516&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Dataset viewer&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/data2_hu_468bd566da78939c.webp 400w,
               /en/post/stata-all-in-one-news/img/data2_hu_ef05651e386882b9.webp 760w,
               /en/post/stata-all-in-one-news/img/data2_hu_94e252367eacd75b.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/data2_hu_468bd566da78939c.webp&#34;
               width=&#34;760&#34;
               height=&#34;516&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;After running code, you can also inspect the current dataset from the console panel. This reduces the need to switch repeatedly between Stata, the Data Editor, and VS Code.&lt;/p&gt;
&lt;p&gt;For most situations where you simply need to “take a quick look,” this feature is highly convenient.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;8-code-comfort-separators-comments-and-safe-renaming&#34;&gt;8. Code Comfort: Separators, Comments, and Safe Renaming&lt;/h2&gt;
&lt;p&gt;In addition to running code and viewing data, the extension includes several small features designed to make everyday coding more convenient.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Insert section separators with a single shortcut to make do-files easier to read:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**# ==================================================
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**#                  Baseline Regressions
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;**# ==================================================
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Use &lt;code&gt;Ctrl/Cmd + [symbol]&lt;/code&gt; to insert different separators:
&lt;code&gt;Ctrl/Cmd + -&lt;/code&gt; for hyphens | &lt;code&gt;Ctrl/Cmd + =&lt;/code&gt; for equals signs | &lt;code&gt;Ctrl/Cmd + Shift + 8&lt;/code&gt; for asterisks&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use &lt;code&gt;Ctrl/Cmd + /&lt;/code&gt; to comment or uncomment code quickly. This is useful when documenting code or temporarily disabling selected lines.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The extension also provides a safe rename mode. Select a variable and press &lt;code&gt;F2&lt;/code&gt; to rename it throughout the current document. The extension checks whether the new name follows Stata’s naming rules and attempts to avoid mistakenly modifying Stata commands or commonly used options.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use &lt;code&gt;Ctrl/Cmd + Enter&lt;/code&gt; to insert a new line while automatically preserving the current indentation style.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;These features may not appear particularly dramatic, but they address small inconveniences that occur repeatedly when writing empirical code. Many more productivity features are available for you to explore.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;9-easy-sharing-present-your-process-and-results-elegantly&#34;&gt;9. Easy Sharing: Present Your Process and Results Elegantly&lt;/h2&gt;
&lt;p&gt;After completing data processing or empirical analysis, we often need to share the process and results with advisors, collaborators, or classmates. The usual options—screenshots or exported Stata &lt;code&gt;.log&lt;/code&gt; files—are less than ideal: screenshots struggle to present a long execution history in full, while log files are not particularly pleasant to read or format.&lt;/p&gt;
&lt;p&gt;Stata All in One lets you export code, output, and graphs from the console with a single click as an &lt;strong&gt;HTML webpage, Markdown document, or Jupyter Notebook compatible with nbstata&lt;/strong&gt;. Click the Share button in the upper-right corner of the console to create a results file for collaboration, teaching, or research replication.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Result-sharing options&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/share-1_hu_5b97b792bf9fe6cb.webp 400w,
               /en/post/stata-all-in-one-news/img/share-1_hu_2440b98e49d76fb0.webp 760w,
               /en/post/stata-all-in-one-news/img/share-1_hu_d226d46bab512127.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/share-1_hu_5b97b792bf9fe6cb.webp&#34;
               width=&#34;760&#34;
               height=&#34;559&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Three result-sharing formats&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/share-2_hu_fb5475e777b2e0c9.webp 400w,
               /en/post/stata-all-in-one-news/img/share-2_hu_51d21fe4b4e8e4d1.webp 760w,
               /en/post/stata-all-in-one-news/img/share-2_hu_e58ec3324fd856ed.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/share-2_hu_fb5475e777b2e0c9.webp&#34;
               width=&#34;760&#34;
               height=&#34;362&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;10-ai-integration-let-ai-run-stata-not-just-read-code&#34;&gt;10. AI Integration: Let AI Run Stata, Not Just Read Code&lt;/h2&gt;
&lt;p&gt;Many researchers have begun using AI to assist with coding. For Stata users, however, one common limitation remains: AI can revise code and explain error messages, but it often cannot run Stata directly to verify whether its suggestions actually work.&lt;/p&gt;
&lt;p&gt;Stata All in One provides a &lt;code&gt;Stata AI Skill&lt;/code&gt; workflow that enables AI coding tools such as Claude Code, Cursor, Codex, OpenCode, and OpenClaw to run Stata code through a local service.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Installing the Skill&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/skill1_hu_dfb78b00286c0cff.webp 400w,
               /en/post/stata-all-in-one-news/img/skill1_hu_4b5ed0e9c1ff1bfd.webp 760w,
               /en/post/stata-all-in-one-news/img/skill1_hu_da3e3c85c0a34ed7.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/skill1_hu_dfb78b00286c0cff.webp&#34;
               width=&#34;760&#34;
               height=&#34;424&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;

















&lt;figure  &gt;
  &lt;div class=&#34;flex justify-center	&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;Using the Skill&#34; srcset=&#34;
               /en/post/stata-all-in-one-news/img/skill2_hu_1012011a0048d0a6.webp 400w,
               /en/post/stata-all-in-one-news/img/skill2_hu_d5e24d1daef76579.webp 760w,
               /en/post/stata-all-in-one-news/img/skill2_hu_d807d4dadb7e766a.webp 1200w&#34;
               src=&#34;https://zihaowang.cn/en/post/stata-all-in-one-news/img/skill2_hu_1012011a0048d0a6.webp&#34;
               width=&#34;760&#34;
               height=&#34;424&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;The Stata AI Skill works &lt;strong&gt;out of the box&lt;/strong&gt; and &lt;strong&gt;natively supports both Windows and macOS&lt;/strong&gt;. Once installed, AI agents can continue using the Skill to run Stata even if Stata All in One is later uninstalled. Unlike some Stata MCP implementations or related Skills that depend on Python environments or additional middleware, the Stata AI Skill uses a &lt;strong&gt;native implementation&lt;/strong&gt;, making it easier to configure and more reliable to invoke.&lt;/p&gt;
&lt;p&gt;This feature is still being actively improved and is currently best suited to users who enjoy experimenting with new tools. Potential use cases include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Asking AI to check whether a section of a do-file can run successfully;&lt;/li&gt;
&lt;li&gt;Asking AI to diagnose problems based on Stata error messages;&lt;/li&gt;
&lt;li&gt;Using AI to assist with repetitive data-processing tasks;&lt;/li&gt;
&lt;li&gt;Allowing AI to test selected Stata commands in the local environment.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Stata AI Skill also includes support for the community command &lt;code&gt;lianxh&lt;/code&gt;, allowing AI agents to search the &lt;strong&gt;Lianxh platform&lt;/strong&gt; for Stata articles, tutorials, and examples. When an agent’s built-in knowledge or locally available materials are insufficient, it can use the &lt;code&gt;lianxh&lt;/code&gt; command to retrieve supplementary information.&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;standalone version&lt;/strong&gt; of the Stata AI Skill is also available. Simply send the following prompt to your AI agent, and it can complete the installation and configuration automatically:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Please visit https://raw.giteeusercontent.com/ZihaoVistonWang/Stata-AI-Skill/raw/main/guide/installation.md and install and configure the Stata AI Skill.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;⚠️ AI cannot replace a researcher’s own judgment. Regression specifications, variable definitions, and other substantive research decisions must still be reviewed carefully by the researcher. This feature is better understood as an assisted debugging tool rather than an automated research tool.&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 id=&#34;11-workflow-a-simple-example&#34;&gt;11. Workflow: A Simple Example&lt;/h2&gt;
&lt;p&gt;Suppose you are working on the empirical section of a research paper. A typical workflow might look like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the project folder in VS Code;&lt;/li&gt;
&lt;li&gt;Divide the do-file into modules using &lt;code&gt;**#&lt;/code&gt; headings;&lt;/li&gt;
&lt;li&gt;Open the &lt;code&gt;.dta&lt;/code&gt; file to inspect the data and variables;&lt;/li&gt;
&lt;li&gt;Write code with syntax highlighting, variable completion, and hover help;&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;Ctrl/Cmd + D&lt;/code&gt; to run the current line, selected code, or an entire section;&lt;/li&gt;
&lt;li&gt;Review results and graphs in the embedded console;&lt;/li&gt;
&lt;li&gt;Open the data viewer to inspect variables and observations;&lt;/li&gt;
&lt;li&gt;When necessary, ask AI to inspect the code or help diagnose errors;&lt;/li&gt;
&lt;li&gt;Finally, share the execution process and results with others if needed.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This approach makes the project structure clearer, the execution process more convenient, and the code easier to organize into a reproducible research workflow.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;12-closing-thoughts&#34;&gt;12. Closing Thoughts&lt;/h2&gt;
&lt;p&gt;The motivation behind this extension is simple: to help Stata users spend less time on repetitive configuration and window switching, and more time working comfortably and efficiently.&lt;/p&gt;
&lt;p&gt;Stata is an essential and highly reliable tool for many empirical researchers, while VS Code provides a modern environment for code editing and project management. Stata All in One aims to build a small bridge between the two.&lt;/p&gt;
&lt;p&gt;If you use Stata regularly and are interested in trying a more integrated working environment, you are warmly invited to install the extension and give it a try.&lt;/p&gt;
&lt;p&gt;Feedback and suggestions are always welcome and will help make the extension better. This project is still under &lt;strong&gt;active development&lt;/strong&gt;. To report bugs or suggest improvements, please contact &lt;a href=&#34;mailto:hi@zihaowang.cn&#34;&gt;hi@zihaowang.cn&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This article provides only a brief introduction to Stata All in One. For more detailed documentation and user guides, please visit:&lt;/strong&gt; &lt;a href=&#34;https://gitee.com/ZihaoVistonWang/stata-all-in-one&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://gitee.com/ZihaoVistonWang/stata-all-in-one&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;related-links&#34;&gt;Related Links&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;VS Code Marketplace — Extension page: &lt;a href=&#34;https://marketplace.visualstudio.com/items?itemName=ZihaoVistonWang.stata-all-in-one&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://marketplace.visualstudio.com/items?itemName=ZihaoVistonWang.stata-all-in-one&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open VSX Registry — Extension page: &lt;a href=&#34;https://open-vsx.org/extension/ZihaoVistonWang/stata-all-in-one&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://open-vsx.org/extension/ZihaoVistonWang/stata-all-in-one&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;GitHub — Source code repository for international users: &lt;a href=&#34;https://github.com/ZihaoVistonWang/stata-all-in-one&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://github.com/ZihaoVistonWang/stata-all-in-one&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Gitee — Source code repository for users in China: &lt;a href=&#34;https://gitee.com/ZihaoVistonWang/stata-all-in-one&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://gitee.com/ZihaoVistonWang/stata-all-in-one&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Author’s homepage: &lt;a href=&#34;https://zihaowang.cn&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://zihaowang.cn&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Bug reports and feedback: &lt;a href=&#34;mailto:hi@zihaowang.cn&#34;&gt;hi@zihaowang.cn&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
  </channel>
</rss>
