CodeView 1.2.1 with auto indentation, highlight matching, find and repalce github.com/AmrDeveloper/C…
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/AmrDeveloper
πŸ“…︎ Jan 08 2022
🚨︎ report
CodeView 1.2.1 with auto indentation, highlight matching, find and repalce github.com/AmrDeveloper/C…
πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/AmrDeveloper
πŸ“…︎ Jan 08 2022
🚨︎ report
Disable all auto indentation?

Hi ... I'm new and I discovered Obsidian yesterday and I'm very excited about it and would like to use it in addition to emacs. My Idea is to use Obsidian to write and link small chunks of prose. That's why I wanted to aks if theres a possibility to disable auto-indentation.

For Example this ist the standard behaviour of Obsidian:

This is a line of text, bla bla bla bla bla / Linebreak enter and I hit tab because of dialogue

____my_tab__"Now this is a person speaking bla bla bla /line ends here

__auto_tab__same person continues speaking bla bla bla"

So Obsidian is auto indenting the second line of dialogue (same person speaking) and I could only prevent it by hitting enter after previous line and then delete the tabbed indentation manually.

Ok I hope I could explain what I mean.

I would like that only hitting the tab key creates an indentation. Is this possible??

Many greetz from germany

Mino

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Exciting_Bet7500
πŸ“…︎ Nov 09 2021
🚨︎ report
How to auto-replace space indentation with tabs in existing files?

Let's say I have a config file created by a CLI operation. Invariably it's created with space-based indentation. Is there any way in VS I can tell it to swap these spaces out for my preferred, tab-based means of indentation when the file is opened?

πŸ‘︎ 23
πŸ’¬︎
πŸ‘€︎ u/misterplantpot
πŸ“…︎ Jun 27 2021
🚨︎ report
How can i achieve this TAB key behavior and Auto Indentation in GNU Emacs Org mode (code blocks) ? imgur.com/a/jQEddxa
πŸ‘︎ 5
πŸ’¬︎
πŸ“…︎ May 25 2021
🚨︎ report
Auto indentation of multiline comments with tree-sitter

Hey!

I have tree-sitter (neovim 0.5) set up to handle my indentation and it's working pretty much flawlessly except for multiline comments. They never align properly.

Does anyone know of a way to solve this ?

    Actual:
    
    /**
    * Comment
    */
    
    Expected:
    
    /**
     * Comment
     */
πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/andersevenrud
πŸ“…︎ Mar 31 2021
🚨︎ report
I just discovered Treesitter was the reason my auto-indentation was getting messed up in Python

Lately my Python indentation was getting messed up and I couldn't seem to place a finger on the cause. Few hours ago, I was calmly re-reading my config files when I saw that I had enabled Treesitter indentation, I removed that setting and auto-indentation is now working normally again.

Putting this here in case someone runs into the same problem.

πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/Melodyogonna
πŸ“…︎ Jan 23 2021
🚨︎ report
IntelliJ Scala Plugin 2020.2 - Implicit auto-imports, Indentation-based braces, First-class companions, Auto-import for object members, In-editor Scaladoc rendering, Completion improvements blog.jetbrains.com/scala/…
πŸ‘︎ 91
πŸ’¬︎
πŸ‘€︎ u/jastice
πŸ“…︎ Jul 28 2020
🚨︎ report
I was trying to auto level the bed and the nozzle pressed up really hard on the heated bed and left this indentation. Now, it’s not too deep, but you can feel it when you run your finger through it. Will this cause any issues with a glass bed. I’m gonna be replacing the magnetic bed it came with.
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/GINGY2323
πŸ“…︎ Aug 21 2019
🚨︎ report
Unable to <TAB> or have an auto-indentation in php-mode

Hi, as per the title, I'm unable to <TAB> or have any auto-indentation in php-mode.

with a simple .php file, I get this:

&lt;?php
phpinfo();
?&gt;

Pressing <TAB> anywhere within the document does nothing at all. I don't have this issue in other modes. Any idea what I might have done wrong?

edit:

looks like I derped on this one. Was able to tab/indent in the following:

&lt;?php
for ($i = 1; $i &lt;= 10; $i++ ){
    if ($i % 2 == 0) {
        echo "even";
    } else {
        echo "odd";
    }
}
?&gt;

not sure, but perhaps php-mode tries to encourage proper formatting by limiting tabbing/indentation by default? Still don't know how insert tabs freely though...

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/notfinishingmy
πŸ“…︎ Dec 05 2019
🚨︎ report
[pdf] SMIE: Weakness is Power! Auto-indentation with incomplete information iro.umontreal.ca/~monnier…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/fakecreditcard
πŸ“…︎ May 11 2020
🚨︎ report
Can i prevent auto-indentation with my inline?

I'm placing an inline table in a column and I can prevent it from indenting automatically. Any way to prevent this?

Pic for ref: https://imgur.com/a/ruaDxST

Thanks!

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/rtchooch
πŸ“…︎ Mar 31 2020
🚨︎ report
Vshaxe 2.17.0 released (auto indentation, sort imports) community.haxe.org/t/vsha…
πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/killfish11
πŸ“…︎ Jan 01 2020
🚨︎ report
get auto indentation in utop?

I have been playing around with utop more and I'm curious if there's a way to edit the ~/.utoprc file to auto indentβ€”is this possible?

EDIT: So far, there’s nothing about this being possible in the utop you can run in your terminal, on the other hand there is a Jupyter OCaml kernel with utop running under the hood that does provide these things!

https://github.com/akabe/ocaml-jupyter/blob/master/README.md?utm_source=share&utm_medium=ios_app

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/thegenieass
πŸ“…︎ Mar 15 2019
🚨︎ report
Python Documentation String Indentation In Auto-Fill Mode (Emacs 26.2)

I've noticed a peculiar behavior when using auto-fill-mode editing Python code. For example if I start typing the following (fill-column is set to 79),

def some_function(keyword_argument0, keyword_argument1,
                  keyword_argument2='foobar'):
    """
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

and press Enter, it will look like this:

def some_function(keyword_argument0, keyword_argument1,
                  keyword_argument2='foobar'):
    """
    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
                  tempor incididunt ut labore et dolore magna aliqua.

If the keyword arguments are all in one line, the docstring continues to be indented with 4 spaces as expected, but whenever it is extended across multiple lines, any line of the docstring after the first will match the indentation of the second line of the list of keyword arguments. Is there a good reason for this, or is this just a bug in auto-fill-mode?

πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/hexidon
πŸ“…︎ Jun 01 2019
🚨︎ report
Annoying auto indentation in tex files

I was editing a .tex file, but neovim keep adding annoying indents to the head of line every time I input {.

I tried all I know to turn off it but I still can't...

So far I've tried :set noautoindent, :set nosmartindent, and filetype plugin indent off

Here's my configs for LaTeX

" LaTeX
autocmd BufNewFile,BufRead *.tex,*.sty,*.cls
            \ set filetype=tex |
            \ set shiftwidth=2 |
            \ set tabstop=2
" Disable the conceal function
let g:tex_conceal = ''

and these are the plugins I'm using for now

Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'w0rp/ale'
Plug '/bin/fzf'
Plug 'junegunn/fzf.vim'
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
Plug 'vim-airline/vim-airline'
Plug 'scrooloose/nerdtree'
Plug 'majutsushi/tagbar'
Plug 'skywind3000/asyncrun.vim'
Plug 'dangoron/quickrun.vim'
Plug 'iamcco/markdown-preview.vim'
Plug 'iamcco/mathjax-support-for-mkdp'

I also tried to turn off all plugins, but I still cannot get rid of the indentation. They should not be the culprit. I'll be super grateful if anyone could tell me how to turn off the autoindent...

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/dangoron
πŸ“…︎ Aug 21 2018
🚨︎ report
Auto-indentation after hitting return/enter

Hi,

I have my tab key to place four spaces. However, in C anyways, after I press enter after using a curly bracket, it will indent 2 lines automatically instead of 4. Even if I hit space twice after that and start typing it will sometimes automatically change the word back to where it was automatically indented to. How do I fix this?

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/Endolithic
πŸ“…︎ Jan 16 2019
🚨︎ report
dtrt-indent: Guess indentation offset originally used for code files and auto-adjust Emacs settings github.com/jscheid/dtrt-i…
πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Sep 11 2019
🚨︎ report
I'm sure this has already been asked a gazillion times, but I've yet to see it answered in such a way that I could implement it, myself: how does one set up code formatting (auto-indenting) in VIM in such a way that, upon saving a file, the code's indentation is re-indented?

See title. The biggest drawback to VIM so far for me is code formatting; my code's indentation is FUBAR and I'm not sure of how to fix it. I'm working with HTML, JavaScript, and Ruby. Any help would be greatly appreciated.

πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/ExNihil
πŸ“…︎ Sep 29 2014
🚨︎ report
A peek at Emacs 24.4: auto-indentation by default emacsredux.com/blog/2014/…
πŸ‘︎ 24
πŸ’¬︎
πŸ‘€︎ u/agumonkey
πŸ“…︎ Jan 19 2014
🚨︎ report
Auto/force indentation like Codepen

Codepen has this cool thing where you can highlight blocks of code, hit SHIFT+Tab and it'll take flat/incorrect indentation and correct it. The auto-indent stuff is great, but I can't find anything that does this in the default setting and have searched for a plugin but I'm not sure how to describe what I'm even looking for.

Anyone have any ideas?

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/bananatron
πŸ“…︎ Apr 26 2017
🚨︎ report
[Help] Auto Indentation For HTML Not Working In VIM 7.4

I recently upgraded to version 7.4 (using Homebrew on OS X Lion if it matters) and auto indentation no longer works for html. All of the other filetypes I tried still worked fine, just not html. I made sure it wasn't something I may have done in my vimrc and rolled back to the copy of 7.3 preloaded from Apple and everything worked fine. Does anyone else have this issue?

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/mwhara
πŸ“…︎ Aug 13 2013
🚨︎ report
New Release of Nightcode: 2.3.0 (add auto-indentation)

This release adds auto-indentation similar to aggressive-indent-mode and updates some templates.

Sorry for the rapid releases lately -- I normally space them out, but being unemployed has given me a ton of time to work on my projects.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/oakes
πŸ“…︎ Jan 29 2017
🚨︎ report
New Release of Nightlight: 1.6.1 (add auto-indentation)

This release adds auto-indentation during situations such as renaming vars. That means, when you start with this:

(def nums [1
           2
           3])

And you rename it to "numbers", it should look like this:

(def numbers [1
              2
              3])

If nobody notices any problems, I will bring this change to Nightcode and Nightcoders.net as well.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/oakes
πŸ“…︎ Jan 28 2017
🚨︎ report
Tab depth and auto tab indentation for Jupyter

New notebook user here.

I'm trying to create my first notebook, but I have to say, while having Jupyter autoindent after ifs and defs and stuff is nominally a nice feature to have, it completely messes with my muscle memory. I didn't even realize it until just now, but apparently I've built up the muscle memory to hit tab after such control statements, just like Jupyter does -- the end result that I hit tab every time myself, after Jupyter does, so now I'm doing the Enter-Tab-Backspace dance every single time I insert a control statement.

How can I disable this functionality?

Additionally, I'd also like to change the default tab width from 4 to 5. A quick Google revealed this StackOverflow question, which would have been the answer for IPython, but apparently not for Jupyter.

I've gone through some of the source, and I can see where the relevant JS is (notebook/static/notebook/js/codecell.js), but I have no idea how to actually modify this in my notebook.

jupyter_notebook_config.py doesn't seem to have anything relevant.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Bunslow
πŸ“…︎ Sep 19 2015
🚨︎ report
GIMP is auto indenting text in 2.10.30. How can I fix this? imgur.com/a/aTDVFJG
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Xseleon
πŸ“…︎ Jan 13 2022
🚨︎ report
How do I disable auto-indent but NOT electricity?

EDIT: Never mind! The function I was looking for is M-x indent-relative. That solves my problem. I can combine that with return to make a custom function to do what I want.

Writing a shell script, Emacs adds 4 tabs and 1 space. I don’t want this to happen. I want Emacs to go to the first character in the previous line. Emacs is going wild with auto-formatting. I want electricity. I like electricity. But I don’t like auto-formatting. That is, I don’t like tons of random tabs and spaces added for no reason.

for in i in 1 2
&lt;tab&gt;&lt;tab&gt;&lt;tab&gt;&lt;tab&gt;&lt;space&gt;&lt;cursor is now here&gt;

I don’t want that. I want :

for in i 1 2
&lt;cursor is here&gt;

M-x electric-indent-mode doesn’t work, because then I lose electricity, which is also problematic. I like electricity, but I don’t like auto-formatting. Turning off electricity isn’t good:

for in i 1 2
    do
&lt;cursor is here&gt;

I want the cursor to be aligned with the do, not at the beginning of the line. Does anyone know how to do this?

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/SequentialDesign
πŸ“…︎ Dec 30 2021
🚨︎ report
How do I get those auto indents in (neo)vim?

What I got(+vimrc)

What I'd like

Is this a Coc thing? For a second ~~I could've sworn this is something neovim does already...~~(it does if there's no ending bracket) I even set smartindent just in case that was the problem.

edit: i found a inoremap that does it Java style(bracket on same line as function) but that’s not what i want

edit 2: ended up using vim-bootstrap, got me what I wanted. not a direct solution to the problem, but it works.

πŸ‘︎ 36
πŸ’¬︎
πŸ‘€︎ u/johnny-gotti
πŸ“…︎ Aug 09 2021
🚨︎ report
Auto Indenting Is Crushing My Very Soul

Hey all

While I love Scrivener on many levels, the one thing that drives me absolutely "The Shinning" level batty is the auto-indent. I have read countless tutorials, watch YouTube videos, even tried to meditate my through the issue ... and alas, I'm still certifiable. Please take a look at the screenshot below:

No, I don't have to pee!

I don't want the app to do any auto-formatting at all, nadia, not even a wee little bit, anywhere, at any time, full stop - FOR THE LOVE OF YODA please!

If I need a tab, indent, joyful exclamation, I'll add it myself. In most cases, I just want to type like you would in Word or Pages, not formatting. I have tried the ruler thingy in preferences, nada. I would really like to avoid Hari Kari and just write me book. You wise counsel with specifics would be greatly appreciated.

Im on Scrivner 3 on a Mac.

Many thank!
Bob

https://preview.redd.it/zkfzccsm8mq61.png?width=1312&format=png&auto=webp&s=ea46c7534a7c7244b023256ddd358e1a3946635b

https://preview.redd.it/4rlbhfsm8mq61.png?width=1290&format=png&auto=webp&s=1627d37a08b86664da6b490f093883a229f64635

πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/bobintejas
πŸ“…︎ Apr 01 2021
🚨︎ report
How to auto indent snippets when trying to use it in a nested way in Kate editor?

How do I make for example a for loop snippet to auto indent when I want to create a nested loop code? I need my snippet to keep the indent when it's inserted. Right now only the first line of the snippet keeps the indent. The rest of the lines don't.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/ur0b0ros
πŸ“…︎ Jun 16 2021
🚨︎ report
[Issue/Inquiry] How to Override Auto-Indent?

I previously had an issue with vertical spacing, and now that it's fixed a new issue has arisen of the auto-indent indenting a line I don't want to be indented. Using the same example code, see attachment.

I also already tried the three underscores, which unindented but removed the spacing I had created too.

Current code

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Ranshi922
πŸ“…︎ Apr 08 2021
🚨︎ report
No matter what I try, this auto indent will not go away, anyone know a fix ?
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/sam_young98
πŸ“…︎ May 05 2021
🚨︎ report
How do I add the visual studio ide auto indenting to vs code editor

in visual studio ide,whenever i type something like a for loop in C++,spaces are automatically added after each comma afer typing semicolon,how can i add this to vs code?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/aneeq1102
πŸ“…︎ May 21 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.