<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: owl✨</title>
    <description>The latest articles on DEV Community by owl✨ (@owl777).</description>
    <link>https://dev.to/owl777</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F711579%2Fcda20d40-e5b7-4ff1-8f57-87a7c26e9c30.png</url>
      <title>DEV Community: owl✨</title>
      <link>https://dev.to/owl777</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/owl777"/>
    <language>en</language>
    <item>
      <title>How to Change the Bootstrap Primary Color in Vue 3.0 CLI</title>
      <dc:creator>owl✨</dc:creator>
      <pubDate>Sun, 05 Nov 2023 02:26:22 +0000</pubDate>
      <link>https://dev.to/owl777/how-to-change-the-bootstrap-primary-color-in-vue-30-cli-2ph7</link>
      <guid>https://dev.to/owl777/how-to-change-the-bootstrap-primary-color-in-vue-30-cli-2ph7</guid>
      <description>&lt;h1&gt;
  
  
  How to Change the Bootstrap Primary Color in Vue 3.0 CLI
&lt;/h1&gt;

&lt;p&gt;While some may argue that Bootstrap has aged, I believe it remains a robust framework. Bootstrap simplifies code and enhances readability, making it a valuable tool for many developers, myself included.&lt;/p&gt;

&lt;p&gt;This article is aimed at explaining how to customize the original color provided by Bootstrap to suit your preferences. If you wish to make this change, follow the instructions below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installation of Bootstrap in Vue CLI
&lt;/h2&gt;

&lt;p&gt;To integrate Bootstrap with Vue CLI, you can follow the official documentation available at &lt;a href="https://bootstrap-vue.org/docs"&gt;https://bootstrap-vue.org/docs&lt;/a&gt;.&lt;br&gt;
&lt;a href="https://bootstrap-vue.org/docs"&gt;https://bootstrap-vue.org/docs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;First, you need to install the required packages using npm:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install vue bootstrap bootstrap-vue
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, you'll want to install the SASS library to use SASS in your Vue CLI project:&lt;br&gt;
Install sass library for Vue CLI to use SASS.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install sass-loader node-sass
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Customizing the Bootstrap Primary Color
&lt;/h2&gt;

&lt;p&gt;To customize the primary color of Bootstrap in your Vue CLI project, you can create an SCSS (SASS) file and import it into your main.js file. This allows you to redefine the primary color to your preference.  &lt;/p&gt;

&lt;p&gt;1: Create an SCSS file in your project. You can place it in the src/assets/scss directory. Let's name it bootstrap-custom.scss. Here's an example of what the file might contain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$primary: rgb(248, 126, 250);

@import '~bootstrap/scss/bootstrap';
@import '~bootstrap-vue/src/index.scss';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the example above, we redefine the $primary variable with your desired RGB color values. You can adjust these values to set your preferred primary color.  &lt;/p&gt;

&lt;p&gt;2: In your main.js file, import the custom SCSS file you just created, like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import "./assets/scss/bootstrap-custom.scss"
// import 'bootstrap/dist/css/bootstrap.css' // Comment out or remove these lines
// import 'bootstrap-vue/dist/bootstrap-vue.css'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By importing the custom SCSS file, you override the Bootstrap primary color with your defined value. Be sure to comment out or remove the default Bootstrap CSS imports as shown above.&lt;/p&gt;

&lt;p&gt;Now, Bootstrap in your Vue CLI project will use the customized primary color defined in bootstrap-custom.scss. You have successfully personalized the primary color of Bootstrap to match your project's design.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In this article, we've seen how to quickly customize Bootstrap's primary color in a Vue 3.0 CLI project. Bootstrap's enduring power in simplifying code and improving readability is evident.&lt;/p&gt;

&lt;p&gt;By following these steps, you can adapt the primary color to match your project's style, creating a cohesive user interface. Enjoy the flexibility of Bootstrap and Vue CLI for your web development journey.&lt;/p&gt;

&lt;p&gt;For more details, refer to the official documentation and reach out to the developer community for assistance. Happy coding!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Vue 3.0 Template Directive CheatSheet</title>
      <dc:creator>owl✨</dc:creator>
      <pubDate>Sun, 10 Sep 2023 08:15:04 +0000</pubDate>
      <link>https://dev.to/owl777/vue-30-template-directive-cheatsheet-e</link>
      <guid>https://dev.to/owl777/vue-30-template-directive-cheatsheet-e</guid>
      <description>&lt;h1&gt;
  
  
  Vue 3.0 Template Directive CheatSheet
&lt;/h1&gt;

&lt;p&gt;This is a cheat sheet that compiles the Vue 3.0 directives I commonly use. Feel free to utilize it while developing your projects.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
Vue 3.0 Template Directive CheatSheet

&lt;ul&gt;
&lt;li&gt;v-text&lt;/li&gt;
&lt;li&gt;Methods&lt;/li&gt;
&lt;li&gt;defination of atribute&lt;/li&gt;
&lt;li&gt;v-on:click&lt;/li&gt;
&lt;li&gt;v-on:mouseover&lt;/li&gt;
&lt;li&gt;v-on:mouseover.stop&lt;/li&gt;
&lt;li&gt;v-on:click.prevent&lt;/li&gt;
&lt;li&gt;v-model for text&lt;/li&gt;
&lt;li&gt;v-model for radio buttons&lt;/li&gt;
&lt;li&gt;computed&lt;/li&gt;
&lt;li&gt;watch&lt;/li&gt;
&lt;li&gt;Changing CSS Classes in HTML Elements&lt;/li&gt;
&lt;li&gt;Specifying Styles in HTML Elements with Data&lt;/li&gt;
&lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  v-text
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;v-text&lt;/code&gt; directive is a fundamental directive used to set the text content of an element. It can be particularly useful when you want to bind dynamic data to an element.&lt;/p&gt;

&lt;p&gt;The below example uses 'data()' like Vue2 using.&lt;br&gt;&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/XWopoLx?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;The following sample code is same as the above one.&lt;br&gt;&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/wvRqoPK?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Methods
&lt;/h2&gt;

&lt;p&gt;In Vue.js, methods are essential for creating dynamic web applications.&lt;br&gt;
They let you define reusable functions within your Vue components, triggered in response to events or actions.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/OJrpMzV?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  defination of atribute
&lt;/h2&gt;

&lt;p&gt;The following demonstrates the way of specifying an attribute in an HTML element.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/poqegpP?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  v-on:click
&lt;/h2&gt;

&lt;p&gt;There are several usages of 'v-on:click' in Vue. So, the following example explains two ways to use the directive.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/poqNLRj?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  v-on:mouseover
&lt;/h2&gt;

&lt;p&gt;The following example demonstrates how to obtain the mouse position through the '$event' argument when the mouse is moved.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/LYMWGQM?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  v-on:mouseover.stop
&lt;/h2&gt;

&lt;p&gt;While the following example retrieves the mouse position in a specific area, it stops capturing the mouse position within that particular region.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/gOZmPKb?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  v-on:click.prevent
&lt;/h2&gt;

&lt;p&gt;The 'v-on:click.prevent' directive prevents the default behavior that HTML elements typically offer when clicked. Instead, it invokes a custom method defined by the developer.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/zYyZraa?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  v-model for text
&lt;/h2&gt;

&lt;p&gt;'v-model' enables two-way interaction. HTML elements can receive values from a data object, and conversely, data objects can receive values from HTML elements.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/QWzpEeb?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  v-model for radio buttons
&lt;/h2&gt;

&lt;p&gt;'v-model' can also be used with radio buttons.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/LYMWZwd?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  computed
&lt;/h2&gt;

&lt;p&gt;Methods always run whenever they are invoked, irrespective of whether the dependent properties have changed or not. On the other hand, Computed properties are recalculated every time they are invoked, but only if any of their dependent properties have changed.&lt;br&gt;&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/mdaWryv?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  watch
&lt;/h2&gt;

&lt;p&gt;Watch is rarely used in production; instead, Computed properties are the preferred choice. This is because Computed properties and Watch serve similar functions. However, if you need to work with properties asynchronously, Watch is the better option compared to Computed properties. The key distinction lies in synchronization: Computed properties are synchronous functions, whereas Watch is asynchronous.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/vYvxXJM?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Changing CSS Classes in HTML Elements
&lt;/h2&gt;

&lt;p&gt;In Vue.js, you can dynamically change HTML CSS classes based on the data in your JavaScript. This flexibility allows you to adapt the styling of your HTML elements in real-time as your data changes.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/LYMWzaN?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Specifying Styles in HTML Elements with Data
&lt;/h2&gt;

&lt;p&gt;You can define CSS styles for HTML elements using data arrays in Vue.js. This allows you to manage and customize your element styles dynamically from the JavaScript side.&lt;br&gt;
&lt;iframe height="600" src="https://codepen.io/fukugit/embed/BavWmQP?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;All the Vue directives discussed above have differences between Vue 2 and 3, making them essential tools in Vue development. These examples are intended to simplify your daily development tasks and enhance your understanding of Vue.js.&lt;/p&gt;

</description>
      <category>vue</category>
      <category>javascript</category>
      <category>cheatsheet</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to show Nerd Fonts in Visual Studio Code</title>
      <dc:creator>owl✨</dc:creator>
      <pubDate>Sun, 20 Aug 2023 09:38:36 +0000</pubDate>
      <link>https://dev.to/owl777/how-to-show-nerd-fonts-in-visual-studio-code-15fd</link>
      <guid>https://dev.to/owl777/how-to-show-nerd-fonts-in-visual-studio-code-15fd</guid>
      <description>&lt;p&gt;Nerd Fonts offer a fantastic collection of icons that seamlessly integrate into various applications on your computer, from Notepad to email clients. However, configuring these icons to appear in Visual Studio Code requires a specific setup. In this article, we will guide you through the process of displaying Nerd Fonts within Visual Studio Code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Nerd Fonts
&lt;/h2&gt;

&lt;p&gt;To install Nerd Fonts, follow the official website's instructions. If you're a Mac user, I recommend using the 'brew' command for the installation. You can find the fonts and installation details at:&lt;br&gt;
&lt;a href="https://www.nerdfonts.com/font-downloads" rel="noopener noreferrer"&gt;https://www.nerdfonts.com/font-downloads&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting Visual Studio Code
&lt;/h2&gt;

&lt;p&gt;Without proper configuration, Visual Studio Code unfortunately doesn't display Nerd Fonts icons correctly. Therefore, you need to perform the following setup in your Visual Studio Code:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the Settings Page.&lt;/li&gt;
&lt;li&gt;Search for settings using the keyword 'terminal.integrated.fontFamily'.&lt;/li&gt;
&lt;li&gt;Enter "'Hack Nerd Font'" into the 'Editor: Font Family' field, as shown below:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The steps outlined above are demonstrated in the following movie:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1mcact52zs0vlpbbqyx6.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1mcact52zs0vlpbbqyx6.gif" alt="Image description" width="800" height="400"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;(Note: I attempted to configure the settings according to the official website's instructions as &lt;a href="https://code.visualstudio.com/docs/terminal/appearance" rel="noopener noreferrer"&gt;https://code.visualstudio.com/docs/terminal/appearance&lt;/a&gt;, which suggested using "Hack NF" for the 'Editor: Font Family' field. However, this didn't work as expected. Instead, using "'Hack Nerd Font'" in the field worked properly.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;After configuration, Nerd Fonts icons appear in your Visual Studio Code.　Have a good VSCode life!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F016ijcx8swikoyquw686.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F016ijcx8swikoyquw686.png" alt="Image description" width="800" height="159"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>The best 10 Shortcuts of IntelliJ I would often use</title>
      <dc:creator>owl✨</dc:creator>
      <pubDate>Sun, 10 Jul 2022 02:34:52 +0000</pubDate>
      <link>https://dev.to/owl777/the-shortcuts-of-intellij-i-would-often-use-4610</link>
      <guid>https://dev.to/owl777/the-shortcuts-of-intellij-i-would-often-use-4610</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;IntelliJ provides us with many shortcut keys. It makes the development cycle speed up.&lt;br&gt;
While it is convenient to use countless keys, more keys cause more confusion. I, therefore, picked up the essential keys on development and recorded them in this document. &lt;br&gt;
If you had any excellent keys that you strongly recommend, leave comments about them. I would update this document with your comment taking the screen capture. Thank you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Shortcut keys
&lt;/h2&gt;

&lt;p&gt;The following shortcut keys are for Mac only. &lt;br&gt;
Using Windows, you can replace the command key in Mac with the control key in Windows. I'm guessing it might work.&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Expand editor
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌘ 1&lt;/code&gt; is used to expand the editor area while simultaneously closing the left-side window.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mDNiDoZW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4rpkzdu3n8a5212mzhbz.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mDNiDoZW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4rpkzdu3n8a5212mzhbz.gif" alt="Image description" width="800" height="358"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Switch editor tabs
&lt;/h3&gt;

&lt;p&gt;This shortcuts, &lt;code&gt;⌘ shift [&lt;/code&gt; and &lt;code&gt;]&lt;/code&gt;, allow you to quickly switch between editor tabs, making it easy to focus on the specific tab you need, such as the Browser tab.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--NoasaBLr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vrbk9hw0c31akabl22ec.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--NoasaBLr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vrbk9hw0c31akabl22ec.gif" alt="Image description" width="800" height="358"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Jump at the navigator file name
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌥ F1&lt;/code&gt;, followed by &lt;code&gt;1&lt;/code&gt;, allows you to quickly move the focus to the file name in the tool window. This is particularly useful when you want to navigate to the file name in the navigator area for the currently open file in the editor.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;⌥ F1&lt;/code&gt;, then &lt;code&gt;1&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--D8i1ZsmM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbfs6s1f3s7g4i0fw22q.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--D8i1ZsmM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbfs6s1f3s7g4i0fw22q.gif" alt="Image description" width="800" height="370"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Show the list of recently opened files
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌘ e&lt;/code&gt; opens a list of recently opened files, making it easy to quickly navigate to files you've worked on recently.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UlApSovE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0rxe99aqj4o76pb3ylpx.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UlApSovE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0rxe99aqj4o76pb3ylpx.gif" alt="Image description" width="800" height="434"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Fix syntax error
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌥ Enter&lt;/code&gt; is used to quickly fix syntax errors, such as undeclared variables or missing imports, by showing you available code suggestions and fixes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XmKTNHHT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/64qti8w5i0vxx81w553i.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XmKTNHHT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/64qti8w5i0vxx81w553i.gif" alt="Image description" width="800" height="272"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Move line
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌥ shift ↑/↓&lt;/code&gt; is used to move the currently selected line or block of code up or down in your code editor, allowing you to quickly adjust the positioning of code within your file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--duAYD8xb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gatceuubc4j3gg1xvehm.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--duAYD8xb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gatceuubc4j3gg1xvehm.gif" alt="Image description" width="800" height="272"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Toggle Case
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌘ shift u&lt;/code&gt; toggles the case of selected text, converting uppercase letters to lowercase and vice versa.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JDIDGUq_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/75lw3yw4i1uccjze8gzb.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JDIDGUq_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/75lw3yw4i1uccjze8gzb.gif" alt="Image description" width="800" height="299"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Reformat code
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌘ ⌥ L&lt;/code&gt; is used to automatically format your code, including fixing broken indents, ensuring that your code adheres to a consistent and readable style.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hFRLBovI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/awald15h55pbfqo7yaze.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hFRLBovI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/awald15h55pbfqo7yaze.gif" alt="Image description" width="800" height="374"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  9. Show Hierarchy
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;⌥ ctrl H&lt;/code&gt; opens the Hierarchy tab, which lists the caller methods, allowing you to navigate and explore the hierarchy of method calls in your code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--e8MzI_rn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zcwowvystfokxo7j5319.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--e8MzI_rn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zcwowvystfokxo7j5319.gif" alt="Image description" width="800" height="373"&gt;&lt;/a&gt;&lt;br&gt;
　　&lt;/p&gt;

&lt;h3&gt;
  
  
  10. Rename
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;Shift F6&lt;/code&gt; allows you to rename a method without needing to consider refactoring for its caller methods.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1P30NV0h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7bt5bi50n0vrky9ft7gz.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1P30NV0h--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7bt5bi50n0vrky9ft7gz.gif" alt="Image description" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The above keys are the ones I rely on daily while coding, but there are many other valuable shortcuts out there. As mentioned earlier, if you have any excellent shortcuts you'd like to recommend, please let me know, and I'll be happy to update this article. Thank you!&lt;/p&gt;

</description>
      <category>intellij</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
