'pycharm rename doesn't affect references in jinja template html

i'm renaming an html.j2 file with scope=project, but references in another html.j2 located in the same folder as the file i'm renaming are not affected, while .py files outside of the folder are being edited just fine.

is this to do with the file-type? or scope? a limitation of refactor/rename? or something else?

this is a small project atm so it's no biggie to manually edit, or use find/replace, but i'd like to understand before i make bigger projects.

thanks!

my (partial) filestructure is

├───SpotifySite
│   │   requirements.txt
│   │   spot_flask_app.py
│   │   __init__.py
│   │
│   └───application
│       │   .cache
│       │   forms.py
│       │   playground.py
│       │   routes.py
│       │   site_spotify_functions.py
│       │   __init__.py
│       │
│       ├───static
│       │       main.css
│       │
│       ├───templates
│       │       artist_playlist.html.j2
│       │       home.html.j2
│       │       layout.html.j2
│       │       made_playlist.html.j2
│       │       return_artists.html.j2
│       │       search.html.j2
│       │       show_tracklist.html.j2

...

eg after refactor/rename 'layout.html.j2' to 'layout.html', 'home.html.j2' remains like this:

{% extends "layout.html.j2" %}
{% block content %}
...


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source